Lines Matching refs:VTimeZone
33 // Smybol characters used by RFC2445 VTIMEZONE
41 // RFC2445 VTIMEZONE tokens
42 static const UChar ICAL_BEGIN_VTIMEZONE[] = {0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x54, 0x49, 0x4D, 0x45, 0x5A, 0x4F, 0x4E, 0x45, 0}; /* "BEGIN:VTIMEZONE" */
43 static const UChar ICAL_END_VTIMEZONE[] = {0x45, 0x4E, 0x44, 0x3A, 0x56, 0x54, 0x49, 0x4D, 0x45, 0x5A, 0x4F, 0x4E, 0x45, 0}; /* "END:VTIMEZONE" */
46 static const UChar ICAL_VTIMEZONE[] = {0x56, 0x54, 0x49, 0x4D, 0x45, 0x5A, 0x4F, 0x4E, 0x45, 0}; /* "VTIMEZONE" */
432 // VTIMEZONE property.
442 // VTIMEZONE property. We do not support the case.
954 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(VTimeZone)
956 VTimeZone::VTimeZone()
961 VTimeZone::VTimeZone(const VTimeZone& source)
987 VTimeZone::~VTimeZone() {
996 VTimeZone&
997 VTimeZone::operator=(const VTimeZone& right) {
1040 VTimeZone::operator==(const TimeZone& that) const {
1047 VTimeZone *vtz = (VTimeZone*)&that;
1059 VTimeZone::operator!=(const TimeZone& that) const {
1063 VTimeZone*
1064 VTimeZone::createVTimeZoneByID(const UnicodeString& ID) {
1065 VTimeZone *vtz = new VTimeZone();
1083 VTimeZone*
1084 VTimeZone::createVTimeZoneFromBasicTimeZone(const BasicTimeZone& basic_time_zone, UErrorCode &status) {
1088 VTimeZone *vtz = new VTimeZone();
1114 VTimeZone*
1115 VTimeZone::createVTimeZone(const UnicodeString& vtzdata, UErrorCode& status) {
1120 VTimeZone *vtz = new VTimeZone();
1130 VTimeZone::getTZURL(UnicodeString& url) const {
1139 VTimeZone::setTZURL(const UnicodeString& url) {
1144 VTimeZone::getLastModified(UDate& lastModified) const {
1153 VTimeZone::setLastModified(UDate lastModified) {
1158 VTimeZone::write(UnicodeString& result, UErrorCode& status) const {
1165 VTimeZone::write(UDate start, UnicodeString& result, UErrorCode& status) const {
1172 VTimeZone::writeSimple(UDate time, UnicodeString& result, UErrorCode& status) const {
1179 VTimeZone::clone(void) const {
1180 return new VTimeZone(*this);
1184 VTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
1190 VTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
1197 VTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset,
1203 VTimeZone::setRawOffset(int32_t offsetMillis) {
1208 VTimeZone::getRawOffset(void) const {
1213 VTimeZone::useDaylightTime(void) const {
1218 VTimeZone::inDaylightTime(UDate date, UErrorCode& status) const {
1223 VTimeZone::hasSameRules(const TimeZone& other) const {
1228 VTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
1233 VTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
1238 VTimeZone::countTransitionRules(UErrorCode& status) const {
1243 VTimeZone::getTimeZoneRules(const InitialTimeZoneRule*& initial,
1250 VTimeZone::load(VTZReader& reader, UErrorCode& status) {
1339 #define VTZ 1 // In VTIMEZONE
1346 VTimeZone::parse(UErrorCode& status) {
1556 // accurate, but VTIMEZONE data does not have such info.
1725 VTimeZone::write(VTZWriter& writer, UErrorCode& status) const {
1772 VTimeZone::write(UDate start, VTZWriter& writer, UErrorCode& status) const {
1837 VTimeZone::writeSimple(UDate time, VTZWriter& writer, UErrorCode& status) const {
1892 VTimeZone::writeZone(VTZWriter& w, BasicTimeZone& basictz,
2183 VTimeZone::writeHeaders(VTZWriter& writer, UErrorCode& status) const {
2214 * Write the closing section of the VTIMEZONE definition block
2217 VTimeZone::writeFooter(VTZWriter& writer, UErrorCode& status) const {
2231 VTimeZone::writeZonePropsByTime(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2255 * Write start times defined by a DOM rule using VTIMEZONE RRULE
2258 VTimeZone::writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2289 * Write start times defined by a DOW rule using VTIMEZONE RRULE
2292 VTimeZone::writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2325 * Write start times defined by a DOW_GEQ_DOM rule using VTIMEZONE RRULE
2328 VTimeZone::writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2405 VTimeZone::writeZonePropsByDOW_GEQ_DOM_sub(VTZWriter& writer, int32_t month, int32_t dayOfMonth,
2449 * Write start times defined by a DOW_LEQ_DOM rule using VTIMEZONE RRULE
2452 VTimeZone::writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2483 VTimeZone::writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule,
2497 // Olson tzdata supports 24:00 of a day, but VTIMEZONE does not.
2537 VTimeZone::beginZoneProps(VTZWriter& writer, UBool isDst, const UnicodeString& zonename,
2584 VTimeZone::endZoneProps(VTZWriter& writer, UBool isDst, UErrorCode& status) const {
2603 VTimeZone::beginRRULE(VTZWriter& writer, int32_t month, UErrorCode& status) const {
2625 VTimeZone::appendUNTIL(VTZWriter& writer, const UnicodeString& until, UErrorCode& status) const {