diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/sw.go | 58 |
1 files changed, 57 insertions, 1 deletions
@@ -74,7 +74,7 @@ func New() locales.Translator { erasAbbreviated: [][]uint8{{0x42, 0x43}, {0x41, 0x44}}, erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)}, erasWide: [][]uint8{{0x4b, 0x61, 0x62, 0x6c, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x72, 0x69, 0x73, 0x74, 0x6f}, {0x42, 0x61, 0x61, 0x64, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x72, 0x69, 0x73, 0x74, 0x6f}}, - timezones: map[string][]uint8{"COT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "IST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x69, 0x61}, "ACWST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69, 0x20, 0x79, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "CHAST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "JDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4a, 0x61, 0x70, 0x61, 0x6e, 0x69}, "AST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x69}, "ACST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "EST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "WARST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "COST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "PDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x69}, "ACWDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69, 0x20, 0x79, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "ART": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "EDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "SGT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x53, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x6f, 0x72, 0x65}, "MESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "CAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "CLT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "GYT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x61}, "GFT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x75, 0x69, 0x61, 0x6e, 0x61, 0x20, 0x79, 0x61, 0x20, 0x55, 0x66, 0x61, 0x72, 0x61, 0x6e, 0x73, 0x61}, "TMST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}, "CST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "MDT": {0x4d, 0x44, 0x54}, "PST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x69}, "HKT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "CLST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "AKST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "WESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "SRT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x65}, "OESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "AWST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "WIB": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "GMT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "JST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4a, 0x61, 0x70, 0x61, 0x6e, 0x69}, "AEDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "LHDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "SAST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4b, 0x75, 0x73, 0x69, 0x6e, 0x69}, "AEST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "AWDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "ChST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f}, "HADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "ACDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "MST": {0x4d, 0x53, 0x54}, "OEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "WIT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "EAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "AKDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "BT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x42, 0x68, 0x75, 0x74, 0x61, 0x6e}, "∅∅∅": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6d, 0x61, 0x7a, 0x6f, 0x6e}, "HAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "WEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "WART": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "WAST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "WITA": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "CHADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "VET": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x56, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61}, "BOT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x42, 0x6f, 0x6c, 0x69, 0x76, 0x69, 0x61}, "LHST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "ECT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x45, 0x6b, 0x77, 0x61, 0x64, 0x6f}, "MEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6b, 0x61, 0x74, 0x69}, "UYST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x72, 0x75, 0x67, 0x77, 0x61, 0x69}, "ADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x69}, "NZDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x79, 0x75, 0x7a, 0x69, 0x6c, 0x61, 0x6e, 0x64, 0x69}, "WAT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "ARST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "HKST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "MYT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x61}, "NZST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x79, 0x75, 0x7a, 0x69, 0x6c, 0x61, 0x6e, 0x64, 0x69}, "HAST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "UYT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x72, 0x75, 0x67, 0x77, 0x61, 0x69}, "HNT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "TMT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}, "CDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}}, + timezones: map[string][]uint8{"AKDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "CST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "UYT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x72, 0x75, 0x67, 0x77, 0x61, 0x69}, "OEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "ACWDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69, 0x20, 0x79, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "CLT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "VET": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x56, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61}, "COT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "ACDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "AEST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "WITA": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "MEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6b, 0x61, 0x74, 0x69}, "PDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x69}, "AWST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "BOT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x42, 0x6f, 0x6c, 0x69, 0x76, 0x69, 0x61}, "JST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4a, 0x61, 0x70, 0x61, 0x6e, 0x69}, "JDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4a, 0x61, 0x70, 0x61, 0x6e, 0x69}, "GFT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x75, 0x69, 0x61, 0x6e, 0x61, 0x20, 0x79, 0x61, 0x20, 0x55, 0x66, 0x61, 0x72, 0x61, 0x6e, 0x73, 0x61}, "SRT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x65}, "AWDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "LHDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "SGT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x53, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x6f, 0x72, 0x65}, "NZST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x79, 0x75, 0x7a, 0x69, 0x6c, 0x61, 0x6e, 0x64, 0x69}, "WAST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "LHST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "HAST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "AKST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61}, "EAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "PST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x69}, "ChST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f}, "EDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "ACWST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69, 0x20, 0x79, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "HKST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "GMT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "WAT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69}, "WEZ": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "BT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x42, 0x68, 0x75, 0x74, 0x61, 0x6e}, "MST": {0x4d, 0x53, 0x54}, "CAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "WESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "TMT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}, "MESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "EST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69}, "TMST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x54, 0x75, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e}, "MDT": {0x4d, 0x44, 0x54}, "IST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x69, 0x61}, "GYT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x61}, "CHADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "HNT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "ECT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x45, 0x6b, 0x77, 0x61, 0x64, 0x6f}, "CHAST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "AST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x69}, "HAT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64}, "ART": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "ARST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "HKT": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "CDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "HADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x69, 0x61, 0x6e}, "MYT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x61}, "ADT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x69}, "CLST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "UYST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x55, 0x72, 0x75, 0x67, 0x77, 0x61, 0x69}, "WART": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "COST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x61}, "AEDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61}, "WIB": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "SAST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4b, 0x75, 0x73, 0x69, 0x6e, 0x69}, "OESZ": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x55, 0x6c, 0x61, 0x79, 0x61}, "WIT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x73, 0x68, 0x61, 0x72, 0x69, 0x6b, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x73, 0x69, 0x61}, "ACST": {0x53, 0x61, 0x61, 0x20, 0x57, 0x61, 0x73, 0x74, 0x61, 0x6e, 0x69, 0x20, 0x7a, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x61, 0x20, 0x79, 0x61, 0x20, 0x4b, 0x61, 0x74, 0x69}, "NZDT": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4e, 0x79, 0x75, 0x7a, 0x69, 0x6c, 0x61, 0x6e, 0x64, 0x69}, "∅∅∅": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x50, 0x65, 0x72, 0x75}, "WARST": {0x53, 0x61, 0x61, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x6a, 0x69, 0x72, 0x61, 0x20, 0x79, 0x61, 0x20, 0x6a, 0x6f, 0x74, 0x6f, 0x20, 0x7a, 0x61, 0x20, 0x4d, 0x61, 0x67, 0x68, 0x61, 0x72, 0x69, 0x62, 0x69, 0x20, 0x6d, 0x77, 0x61, 0x20, 0x41, 0x6a, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}}, } } @@ -425,6 +425,7 @@ func (sw *sw) FmtTimeShort(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, sw.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } @@ -447,12 +448,14 @@ func (sw *sw) FmtTimeMedium(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, sw.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, sw.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -475,12 +478,14 @@ func (sw *sw) FmtTimeLong(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, sw.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, sw.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -507,12 +512,14 @@ func (sw *sw) FmtTimeFull(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, sw.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, sw.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -521,6 +528,7 @@ func (sw *sw) FmtTimeFull(t time.Time) []byte { b = append(b, []byte{0x20}...) tz, _ := t.Zone() + if btz, ok := sw.timezones[tz]; ok { b = append(b, btz...) } else { @@ -529,3 +537,51 @@ func (sw *sw) FmtTimeFull(t time.Time) []byte { return b } + +// FmtDateTimeShort returns the short date & time representation of 't' for 'sw' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (sw *sw) FmtDateTimeShort(t time.Time) []byte { + + b := sw.FmtDateShort(t) + b = append(b, ' ') + b = append(b, sw.FmtTimeShort(t)...) + + return b +} + +// FmtDateTimeMedium returns the medium date & time representation of 't' for 'sw' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (sw *sw) FmtDateTimeMedium(t time.Time) []byte { + + b := sw.FmtDateMedium(t) + b = append(b, ' ') + b = append(b, sw.FmtTimeMedium(t)...) + + return b +} + +// FmtDateTimeLong returns the long date & time representation of 't' for 'sw' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (sw *sw) FmtDateTimeLong(t time.Time) []byte { + + b := sw.FmtDateLong(t) + b = append(b, ' ') + b = append(b, sw.FmtTimeLong(t)...) + + return b +} + +// FmtDateTimeFull returns the full date & time representation of 't' for 'sw' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (sw *sw) FmtDateTimeFull(t time.Time) []byte { + + b := sw.FmtDateFull(t) + b = append(b, ' ') + b = append(b, sw.FmtTimeFull(t)...) + + return b +} |