Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GregorianToPersian ¶
GregorianToPersian converts a Gregorian date to Persian date
func PersianToGregorian ¶
PersianToGregorian converts a Persian date to Gregorian date
Types ¶
type PersianMonth ¶
type PersianMonth int32
PersianMonth represents a Persian month
const ( Farvardin PersianMonth = 1 + iota Ordibehesht Khordad Tir Mordad Shahrivar Mehr Aban Azar Dey Bahman Esfand )
List of Persian months
func (PersianMonth) String ¶
func (m PersianMonth) String() string
Click to show internal directories.
Click to hide internal directories.