Changeset View
Changeset View
Standalone View
Standalone View
src/holidayregion.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
107 | /** | 107 | /** | ||
108 | * @since 4.5 | 108 | * @since 4.5 | ||
109 | * | 109 | * | ||
110 | * Return the ISO 3166 country code of the file | 110 | * Return the ISO 3166 country code of the file | ||
111 | * | 111 | * | ||
112 | * May be either just a country code ("US" = USA) or may include a regional | 112 | * May be either just a country code ("US" = USA) or may include a regional | ||
113 | * identifier ("US-CA" = California). Returns "XX" if not a country. | 113 | * identifier ("US-CA" = California). Returns "XX" if not a country. | ||
114 | * | 114 | * | ||
115 | * See http://en.wikipedia.org/wiki/ISO_3166-2 | 115 | * See https://en.wikipedia.org/wiki/ISO_3166-2 | ||
116 | * | 116 | * | ||
117 | * @return the full region code of the file | 117 | * @return the full region code of the file | ||
118 | */ | 118 | */ | ||
119 | QString countryCode() const; | 119 | QString countryCode() const; | ||
120 | 120 | | |||
121 | /** | 121 | /** | ||
122 | * @since 4.5 | 122 | * @since 4.5 | ||
123 | * | 123 | * | ||
124 | * Return the ISO 3166 country code of a given Holiday Region | 124 | * Return the ISO 3166 country code of a given Holiday Region | ||
125 | * | 125 | * | ||
126 | * May be either just a country code ("US" = USA) or may include a regional | 126 | * May be either just a country code ("US" = USA) or may include a regional | ||
127 | * identifier ("US-CA" = California). Returns "XX" if not a country. | 127 | * identifier ("US-CA" = California). Returns "XX" if not a country. | ||
128 | * | 128 | * | ||
129 | * See http://en.wikipedia.org/wiki/ISO_3166-2 | 129 | * See https://en.wikipedia.org/wiki/ISO_3166-2 | ||
130 | * | 130 | * | ||
131 | * @param regionCode The code for the Holiday Region. | 131 | * @param regionCode The code for the Holiday Region. | ||
132 | * @return the full region code of the file | 132 | * @return the full region code of the file | ||
133 | */ | 133 | */ | ||
134 | static QString countryCode(const QString ®ionCode); | 134 | static QString countryCode(const QString ®ionCode); | ||
135 | 135 | | |||
136 | /** | 136 | /** | ||
137 | * @since 4.5 | 137 | * @since 4.5 | ||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |