aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/text/unicode/cldr/xml.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/unicode/cldr/xml.go')
-rw-r--r--vendor/golang.org/x/text/unicode/cldr/xml.go20
1 files changed, 18 insertions, 2 deletions
diff --git a/vendor/golang.org/x/text/unicode/cldr/xml.go b/vendor/golang.org/x/text/unicode/cldr/xml.go
index 0a6e515..a1550ed 100644
--- a/vendor/golang.org/x/text/unicode/cldr/xml.go
+++ b/vendor/golang.org/x/text/unicode/cldr/xml.go
@@ -185,6 +185,11 @@ type SupplementalData struct {
Day string `xml:"day,attr"`
Territories string `xml:"territories,attr"`
} `xml:"weekendEnd"`
+ WeekOfPreference []*struct {
+ Common
+ Locales string `xml:"locales,attr"`
+ Ordering string `xml:"ordering,attr"`
+ } `xml:"weekOfPreference"`
} `xml:"weekData"`
TimeData *struct {
Common
@@ -731,6 +736,7 @@ type LDML struct {
Count string `xml:"count,attr"`
} `xml:"relativeTimePattern"`
} `xml:"relativeTime"`
+ RelativePeriod []*Common `xml:"relativePeriod"`
} `xml:"field"`
} `xml:"fields"`
TimeZoneNames *TimeZoneNames `xml:"timeZoneNames"`
@@ -801,6 +807,14 @@ type LDML struct {
Noexpr []*Common `xml:"noexpr"`
} `xml:"messages"`
} `xml:"posix"`
+ CharacterLabels *struct {
+ Common
+ CharacterLabelPattern []*struct {
+ Common
+ Count string `xml:"count,attr"`
+ } `xml:"characterLabelPattern"`
+ CharacterLabel []*Common `xml:"characterLabel"`
+ } `xml:"characterLabels"`
Segmentations *struct {
Common
Segmentation []*struct {
@@ -1096,7 +1110,8 @@ type Calendar struct {
Common
DateFormatItem []*struct {
Common
- Id string `xml:"id,attr"`
+ Id string `xml:"id,attr"`
+ Count string `xml:"count,attr"`
} `xml:"dateFormatItem"`
} `xml:"availableFormats"`
AppendItems []*struct {
@@ -1135,6 +1150,7 @@ type Calendar struct {
Count string `xml:"count,attr"`
} `xml:"relativeTimePattern"`
} `xml:"relativeTime"`
+ RelativePeriod []*Common `xml:"relativePeriod"`
} `xml:"field"`
} `xml:"fields"`
}
@@ -1437,4 +1453,4 @@ type Numbers struct {
}
// Version is the version of CLDR from which the XML definitions are generated.
-const Version = "29"
+const Version = "30"