Versions in this module Expand all Collapse all v0 v0.0.3 May 24, 2024 v0.0.2 May 24, 2024 Changes in this version + const LocaleEsMX v0.0.1 May 24, 2024 Changes in this version + const DefaultFormatBgBGDateTime + const DefaultFormatBgBGFull + const DefaultFormatBgBGLong + const DefaultFormatBgBGMedium + const DefaultFormatBgBGShort + const DefaultFormatBgBGTime + const DefaultFormatCaESDateTime + const DefaultFormatCaESFull + const DefaultFormatCaESLong + const DefaultFormatCaESMedium + const DefaultFormatCaESShort + const DefaultFormatCaESTime + const DefaultFormatCsCZDateTime + const DefaultFormatCsCZFull + const DefaultFormatCsCZLong + const DefaultFormatCsCZMedium + const DefaultFormatCsCZShort + const DefaultFormatCsCZTime + const DefaultFormatDaDKDateTime + const DefaultFormatDaDKFull + const DefaultFormatDaDKLong + const DefaultFormatDaDKMedium + const DefaultFormatDaDKShort + const DefaultFormatDaDKTime + const DefaultFormatDeDEDateTime + const DefaultFormatDeDEFull + const DefaultFormatDeDELong + const DefaultFormatDeDEMedium + const DefaultFormatDeDEShort + const DefaultFormatDeDETime + const DefaultFormatElGRDateTime + const DefaultFormatElGRFull + const DefaultFormatElGRLong + const DefaultFormatElGRMedium + const DefaultFormatElGRShort + const DefaultFormatElGRTime + const DefaultFormatEnGBDateTime + const DefaultFormatEnGBFull + const DefaultFormatEnGBLong + const DefaultFormatEnGBMedium + const DefaultFormatEnGBShort + const DefaultFormatEnGBTime + const DefaultFormatEnUS + const DefaultFormatEnUSDateTime + const DefaultFormatEnUSFull + const DefaultFormatEnUSLong + const DefaultFormatEnUSMedium + const DefaultFormatEnUSShort + const DefaultFormatEnUSTime + const DefaultFormatEsESDateTime + const DefaultFormatEsESFull + const DefaultFormatEsESLong + const DefaultFormatEsESMedium + const DefaultFormatEsESShort + const DefaultFormatEsESTime + const DefaultFormatEtEEDateTime + const DefaultFormatEtEEFull + const DefaultFormatEtEELong + const DefaultFormatEtEEMedium + const DefaultFormatEtEEShort + const DefaultFormatEtEETime + const DefaultFormatFiFIDateTime + const DefaultFormatFiFIFull + const DefaultFormatFiFILong + const DefaultFormatFiFIMedium + const DefaultFormatFiFIShort + const DefaultFormatFiFITime + const DefaultFormatFrCADateTime + const DefaultFormatFrCAFull + const DefaultFormatFrCALong + const DefaultFormatFrCAMedium + const DefaultFormatFrCAShort + const DefaultFormatFrCATime + const DefaultFormatFrFRDateTime + const DefaultFormatFrFRFull + const DefaultFormatFrFRLong + const DefaultFormatFrFRMedium + const DefaultFormatFrFRShort + const DefaultFormatFrFRTime + const DefaultFormatFrGFDateTime + const DefaultFormatFrGFFull + const DefaultFormatFrGFLong + const DefaultFormatFrGFMedium + const DefaultFormatFrGFShort + const DefaultFormatFrGFTime + const DefaultFormatFrGPDateTime + const DefaultFormatFrGPFull + const DefaultFormatFrGPLong + const DefaultFormatFrGPMedium + const DefaultFormatFrGPShort + const DefaultFormatFrGPTime + const DefaultFormatFrLUDateTime + const DefaultFormatFrLUFull + const DefaultFormatFrLULong + const DefaultFormatFrLUMedium + const DefaultFormatFrLUShort + const DefaultFormatFrLUTime + const DefaultFormatFrMQDateTime + const DefaultFormatFrMQFull + const DefaultFormatFrMQLong + const DefaultFormatFrMQMedium + const DefaultFormatFrMQShort + const DefaultFormatFrMQTime + const DefaultFormatFrREDateTime + const DefaultFormatFrREFull + const DefaultFormatFrRELong + const DefaultFormatFrREMedium + const DefaultFormatFrREShort + const DefaultFormatFrRETime + const DefaultFormatHrHRDateTime + const DefaultFormatHrHRFull + const DefaultFormatHrHRLong + const DefaultFormatHrHRMedium + const DefaultFormatHrHRShort + const DefaultFormatHrHRTime + const DefaultFormatHuHUDateTime + const DefaultFormatHuHUFull + const DefaultFormatHuHULong + const DefaultFormatHuHUMedium + const DefaultFormatHuHUShort + const DefaultFormatHuHUTime + const DefaultFormatItITDateTime + const DefaultFormatItITFull + const DefaultFormatItITLong + const DefaultFormatItITMedium + const DefaultFormatItITShort + const DefaultFormatItITTime + const DefaultFormatJaJPDateTime + const DefaultFormatJaJPFull + const DefaultFormatJaJPLong + const DefaultFormatJaJPMedium + const DefaultFormatJaJPShort + const DefaultFormatJaJPTime + const DefaultFormatKkKZDateTime + const DefaultFormatKkKZFull + const DefaultFormatKkKZLong + const DefaultFormatKkKZMedium + const DefaultFormatKkKZShort + const DefaultFormatKkKZTime + const DefaultFormatKoKRDateTime + const DefaultFormatKoKRFull + const DefaultFormatKoKRLong + const DefaultFormatKoKRMedium + const DefaultFormatKoKRShort + const DefaultFormatKoKRTime + const DefaultFormatLtLTDateTime + const DefaultFormatLtLTFull + const DefaultFormatLtLTLong + const DefaultFormatLtLTMedium + const DefaultFormatLtLTShort + const DefaultFormatLtLTTime + const DefaultFormatLvLVDateTime + const DefaultFormatLvLVFull + const DefaultFormatLvLVLong + const DefaultFormatLvLVMedium + const DefaultFormatLvLVShort + const DefaultFormatLvLVTime + const DefaultFormatNbNODateTime + const DefaultFormatNbNOFull + const DefaultFormatNbNOLong + const DefaultFormatNbNOMedium + const DefaultFormatNbNOShort + const DefaultFormatNbNOTime + const DefaultFormatNlBEDateTime + const DefaultFormatNlBEFull + const DefaultFormatNlBELong + const DefaultFormatNlBEMedium + const DefaultFormatNlBEShort + const DefaultFormatNlBETime + const DefaultFormatNlNLDateTime + const DefaultFormatNlNLFull + const DefaultFormatNlNLLong + const DefaultFormatNlNLMedium + const DefaultFormatNlNLShort + const DefaultFormatNlNLTime + const DefaultFormatNnNODateTime + const DefaultFormatNnNOFull + const DefaultFormatNnNOLong + const DefaultFormatNnNOMedium + const DefaultFormatNnNOShort + const DefaultFormatNnNOTime + const DefaultFormatPlPLDateTime + const DefaultFormatPlPLFull + const DefaultFormatPlPLLong + const DefaultFormatPlPLMedium + const DefaultFormatPlPLShort + const DefaultFormatPlPLTime + const DefaultFormatPtBRDateTime + const DefaultFormatPtBRFull + const DefaultFormatPtBRLong + const DefaultFormatPtBRMedium + const DefaultFormatPtBRShort + const DefaultFormatPtBRTime + const DefaultFormatPtPTDateTime + const DefaultFormatPtPTFull + const DefaultFormatPtPTLong + const DefaultFormatPtPTMedium + const DefaultFormatPtPTShort + const DefaultFormatPtPTTime + const DefaultFormatRoRODateTime + const DefaultFormatRoROFull + const DefaultFormatRoROLong + const DefaultFormatRoROMedium + const DefaultFormatRoROShort + const DefaultFormatRoROTime + const DefaultFormatRuRUDateTime + const DefaultFormatRuRUFull + const DefaultFormatRuRULong + const DefaultFormatRuRUMedium + const DefaultFormatRuRUShort + const DefaultFormatRuRUTime + const DefaultFormatSkSKDateTime + const DefaultFormatSkSKFull + const DefaultFormatSkSKLong + const DefaultFormatSkSKMedium + const DefaultFormatSkSKShort + const DefaultFormatSkSKTime + const DefaultFormatSvSEDateTime + const DefaultFormatSvSEFull + const DefaultFormatSvSELong + const DefaultFormatSvSEMedium + const DefaultFormatSvSEShort + const DefaultFormatSvSETime + const DefaultFormatThTHDateTime + const DefaultFormatThTHFull + const DefaultFormatThTHLong + const DefaultFormatThTHMedium + const DefaultFormatThTHShort + const DefaultFormatThTHTime + const DefaultFormatTrTRDateTime + const DefaultFormatTrTRFull + const DefaultFormatTrTRLong + const DefaultFormatTrTRMedium + const DefaultFormatTrTRShort + const DefaultFormatTrTRTime + const DefaultFormatUkUADateTime + const DefaultFormatUkUAFull + const DefaultFormatUkUALong + const DefaultFormatUkUAMedium + const DefaultFormatUkUAShort + const DefaultFormatUkUATime + const DefaultFormatUzUZDateTime + const DefaultFormatUzUZFull + const DefaultFormatUzUZLong + const DefaultFormatUzUZMedium + const DefaultFormatUzUZShort + const DefaultFormatUzUZTime + const DefaultFormatZhCNDateTime + const DefaultFormatZhCNFull + const DefaultFormatZhCNLong + const DefaultFormatZhCNMedium + const DefaultFormatZhCNShort + const DefaultFormatZhCNTime + const DefaultFormatZhHKDateTime + const DefaultFormatZhHKFull + const DefaultFormatZhHKLong + const DefaultFormatZhHKMedium + const DefaultFormatZhHKShort + const DefaultFormatZhHKTime + const DefaultFormatZhTWDateTime + const DefaultFormatZhTWFull + const DefaultFormatZhTWLong + const DefaultFormatZhTWMedium + const DefaultFormatZhTWShort + const DefaultFormatZhTWTime + const LocaleBgBG + const LocaleCaES + const LocaleCsCZ + const LocaleDaDK + const LocaleDeDE + const LocaleElGR + const LocaleEnGB + const LocaleEnUS + const LocaleEsES + const LocaleEtEE + const LocaleFiFI + const LocaleFrCA + const LocaleFrFR + const LocaleFrGF + const LocaleFrGP + const LocaleFrLU + const LocaleFrMQ + const LocaleFrRE + const LocaleHrHR + const LocaleHuHU + const LocaleIdID + const LocaleItIT + const LocaleJaJP + const LocaleKkKZ + const LocaleKoKR + const LocaleLtLT + const LocaleLvLV + const LocaleNbNO + const LocaleNlBE + const LocaleNlNL + const LocaleNnNO + const LocalePlPL + const LocalePtBR + const LocalePtPT + const LocaleRoRO + const LocaleRuRU + const LocaleSkSK + const LocaleSlSI + const LocaleSvSE + const LocaleThTH + const LocaleTrTR + const LocaleUkUA + const LocaleUzUZ + const LocaleZhCN + const LocaleZhHK + const LocaleZhTW + var DateTimeFormatsByLocale = map[Locale]string + var FullFormatsByLocale = map[Locale]string + var LongFormatsByLocale = map[Locale]string + var MediumFormatsByLocale = map[Locale]string + var ShortFormatsByLocale = map[Locale]string + var TimeFormatsByLocale = map[Locale]string + func Format(dt time.Time, layout string, locale Locale) string + func GetLongDays(locale Locale) []string + func GetLongMonths(locale Locale) []string + func GetShortDays(locale Locale) []string + func GetShortMonths(locale Locale) []string + func Parse(layout, value string, locale Locale) (time.Time, error) + func ParseInLocation(layout, value string, loc *time.Location, locale Locale) (time.Time, error) + type InvalidLengthError struct + func NewInvalidLengthError() InvalidLengthError + type InvalidTypeError struct + func NewInvalidTypeError() InvalidTypeError + type Locale string + func ListLocales() []Locale + type LocaleDetector struct + func NewLocaleDetector() *LocaleDetector + func (ld *LocaleDetector) Parse(layout, value string) (time.Time, error)