Versions in this module Expand all Collapse all v2 v2.4.1 Nov 7, 2024 v2.4.0 Nov 7, 2024 Changes in this version + type Gregorian struct + func FromGregorian(t time.Time) (g Gregorian) + func (g Gregorian) ToPersian() (p Persian) + type Persian struct + Error error + func FromPersian(year, month, day, hour, minute, second int) (p Persian) + func (p Persian) Day() int + func (p Persian) Hour() int + func (p Persian) IsLeapYear() bool + func (p Persian) IsZero() bool + func (p Persian) Minute() int + func (p Persian) Month() int + func (p Persian) Second() int + func (p Persian) String() string + func (p Persian) ToGregorian() (g Gregorian) + func (p Persian) ToMonthString() (month string) + func (p Persian) ToWeekString() (month string) + func (p Persian) Year() int