calendar.go 1.9 KB

12345
  1. package ii
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}, AD: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "7", 12: "12", 1: "1", 2: "2", 3: "3", 5: "5", 6: "6", 4: "4", 8: "8", 9: "9", 10: "10", 11: "11"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "ꊰꊪꆪ", 2: "ꑍꆪ", 4: "ꇖꆪ", 10: "ꊰꆪ", 6: "ꃘꆪ", 7: "ꏃꆪ", 8: "ꉆꆪ", 9: "ꈬꆪ", 12: "ꊰꑋꆪ", 1: "ꋍꆪ", 3: "ꌕꆪ", 5: "ꉬꆪ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "ꆏꌕ", 4: "ꆏꇖ", 5: "ꆏꉬ", 6: "ꆏꃘ", 0: "ꑭꆏ", 1: "ꆏꋍ", 2: "ꆏꑍ"}, Narrow: ut.CalendarDayFormatNameValue{6: "ꃘ", 0: "ꆏ", 1: "ꋍ", 2: "ꑍ", 3: "ꌕ", 4: "ꇖ", 5: "ꉬ"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{3: "ꆏꊂꌕ", 4: "ꆏꊂꇖ", 5: "ꆏꊂꉬ", 6: "ꆏꊂꃘ", 0: "ꑭꆏꑍ", 1: "ꆏꊂꋍ", 2: "ꆏꊂꑍ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "ꁯꋒ", "am": "ꎸꄑ"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "ꎸꄑ", "pm": "ꁯꋒ"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "ꃅꋊꂿ", Narrow: ""}}}}