Home
last modified time | relevance | path

Searched refs:SimpleTimeZone (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/node/deps/icu-small/source/i18n/
Dsimpletz.cpp42 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone)
54 const int8_t SimpleTimeZone::STATICMONTHLENGTH[] = {31,29,31,30,31,30,31,31,30,31,30,31};
65 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID) in SimpleTimeZone() function in SimpleTimeZone
89 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
108 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
127 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
149 void SimpleTimeZone::construct(int32_t rawOffsetGMT, in construct()
188 SimpleTimeZone::~SimpleTimeZone() in ~SimpleTimeZone()
196 SimpleTimeZone::SimpleTimeZone(const SimpleTimeZone &source) in SimpleTimeZone() function in SimpleTimeZone
205 SimpleTimeZone &
[all …]
Dolsontz.h27 class SimpleTimeZone; variable
370 SimpleTimeZone *finalZone; // owned, may be nullptr
402 SimpleTimeZone *finalZoneWithStartYear; // hack
/third_party/skia/third_party/externals/icu/source/i18n/
Dsimpletz.cpp42 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone)
54 const int8_t SimpleTimeZone::STATICMONTHLENGTH[] = {31,29,31,30,31,30,31,31,30,31,30,31};
65 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID) in SimpleTimeZone() function in SimpleTimeZone
89 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
108 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
127 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
149 void SimpleTimeZone::construct(int32_t rawOffsetGMT, in construct()
188 SimpleTimeZone::~SimpleTimeZone() in ~SimpleTimeZone()
196 SimpleTimeZone::SimpleTimeZone(const SimpleTimeZone &source) in SimpleTimeZone() function in SimpleTimeZone
205 SimpleTimeZone &
[all …]
Dolsontz.h27 class SimpleTimeZone; variable
370 SimpleTimeZone *finalZone; // owned, may be NULL
402 SimpleTimeZone *finalZoneWithStartYear; // hack
Dtimezone.cpp118 alignas(icu::SimpleTimeZone)
119 static char gRawGMT[sizeof(icu::SimpleTimeZone)];
121 alignas(icu::SimpleTimeZone)
122 static char gRawUNKNOWN[sizeof(icu::SimpleTimeZone)];
151 reinterpret_cast<SimpleTimeZone*>(gRawGMT)->~SimpleTimeZone(); in timeZone_cleanup()
152 reinterpret_cast<SimpleTimeZone*>(gRawUNKNOWN)->~SimpleTimeZone(); in timeZone_cleanup()
315 new(gRawGMT) SimpleTimeZone(0, UnicodeString(TRUE, GMT_ID, GMT_ID_LENGTH)); in initStaticTimeZones()
316 … new(gRawUNKNOWN) SimpleTimeZone(0, UnicodeString(TRUE, UNKNOWN_ZONE_ID, UNKNOWN_ZONE_ID_LENGTH)); in initStaticTimeZones()
327 return *reinterpret_cast<SimpleTimeZone*>(gRawUNKNOWN); in getUnknown()
334 return reinterpret_cast<SimpleTimeZone*>(gRawGMT); in getGMT()
[all …]
/third_party/icu/icu4c/source/i18n/
Dsimpletz.cpp42 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleTimeZone)
54 const int8_t SimpleTimeZone::STATICMONTHLENGTH[] = {31,29,31,30,31,30,31,31,30,31,30,31};
65 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID) in SimpleTimeZone() function in SimpleTimeZone
89 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
108 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
127 SimpleTimeZone::SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID, in SimpleTimeZone() function in SimpleTimeZone
149 void SimpleTimeZone::construct(int32_t rawOffsetGMT, in construct()
188 SimpleTimeZone::~SimpleTimeZone() in ~SimpleTimeZone()
196 SimpleTimeZone::SimpleTimeZone(const SimpleTimeZone &source) in SimpleTimeZone() function in SimpleTimeZone
205 SimpleTimeZone &
[all …]
Dolsontz.h27 class SimpleTimeZone; variable
370 SimpleTimeZone *finalZone; // owned, may be NULL
402 SimpleTimeZone *finalZoneWithStartYear; // hack
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dsimpletz.h65 class U_I18N_API SimpleTimeZone: public BasicTimeZone {
90 SimpleTimeZone(const SimpleTimeZone& source);
97 SimpleTimeZone& operator=(const SimpleTimeZone& right);
103 virtual ~SimpleTimeZone();
127 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID);
164 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
207 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
255 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
714 virtual SimpleTimeZone* clone() const;
805 SimpleTimeZone(); // default constructor not implemented
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Dsimpletz.h65 class U_I18N_API SimpleTimeZone: public BasicTimeZone {
90 SimpleTimeZone(const SimpleTimeZone& source);
97 SimpleTimeZone& operator=(const SimpleTimeZone& right);
103 virtual ~SimpleTimeZone();
127 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID);
164 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
207 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
255 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
712 virtual SimpleTimeZone* clone() const override;
803 SimpleTimeZone() = delete; // default constructor not implemented
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Dsimpletz.h65 class U_I18N_API SimpleTimeZone: public BasicTimeZone {
90 SimpleTimeZone(const SimpleTimeZone& source);
97 SimpleTimeZone& operator=(const SimpleTimeZone& right);
103 virtual ~SimpleTimeZone();
127 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID);
164 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
207 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
255 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
712 virtual SimpleTimeZone* clone() const override;
803 SimpleTimeZone() = delete; // default constructor not implemented
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtzregts.cpp89 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) { in findTransitionBinary()
110 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max… in findTransitionStepwise()
132 LocalPointer<SimpleTimeZone> z(new SimpleTimeZone(0, "GMT"), status); in Test4073215()
566 …LocalPointer<SimpleTimeZone> tz1(new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status), statu… in Test4154537()
567 …LocalPointer<SimpleTimeZone> tz2(new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status), statu… in Test4154537()
569 …LocalPointer<SimpleTimeZone> tza(new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0, status), statu… in Test4154537()
570 …LocalPointer<SimpleTimeZone> tzA(new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0, status), statu… in Test4154537()
572 …LocalPointer<SimpleTimeZone> tzb(new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0, status), statu… in Test4154537()
630 LocalPointer<SimpleTimeZone> zone(new SimpleTimeZone(0, "Z"), status); in Test4154542()
676 SimpleTimeZone *temp = new SimpleTimeZone(0, "Z", in Test4154542()
[all …]
Dtzregts.h56 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
57 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRegressionTest.java36 import ohos.global.icu.util.SimpleTimeZone;
72 SimpleTimeZone z = new SimpleTimeZone(0, "GMT"); in Test4073215()
414 SimpleTimeZone z = new SimpleTimeZone(0, "id", in Test4154525()
421 z = new SimpleTimeZone(0, "GMT"); in Test4154525()
448 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537()
449 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537()
451 SimpleTimeZone tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
452 SimpleTimeZone tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
454 SimpleTimeZone tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0); in Test4154537()
504 SimpleTimeZone zone = new SimpleTimeZone(0, "Z"); in Test4154542()
[all …]
DTimeZoneTest.java39 import ohos.global.icu.util.SimpleTimeZone;
395 SimpleTimeZone zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
444 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
508 SimpleTimeZone zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
538 SimpleTimeZone anotherZone = new SimpleTimeZone(anotherOffset, anotheId); in TestGenericAPI()
570 SimpleTimeZone zone = new SimpleTimeZone(offset, "TestZone"); in TestRuleAPI()
642 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch()
882 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
930 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); in TestAlternateRules()
1151 SimpleTimeZone stz0 = new SimpleTimeZone(32400000, "MyTimeZone"); in TestSimpleTimeZoneSerialization()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java35 import com.ibm.icu.util.SimpleTimeZone;
69 SimpleTimeZone z = new SimpleTimeZone(0, "GMT"); in Test4073215()
411 SimpleTimeZone z = new SimpleTimeZone(0, "id", in Test4154525()
418 z = new SimpleTimeZone(0, "GMT"); in Test4154525()
445 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537()
446 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537()
448 SimpleTimeZone tza = new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
449 SimpleTimeZone tzA = new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0); in Test4154537()
451 SimpleTimeZone tzb = new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0); in Test4154537()
501 SimpleTimeZone zone = new SimpleTimeZone(0, "Z"); in Test4154542()
[all …]
DTimeZoneTest.java37 import com.ibm.icu.util.SimpleTimeZone;
391 SimpleTimeZone zone2 = new SimpleTimeZone(0, "PST"); in TestDisplayName()
440 zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); in TestDisplayName()
504 SimpleTimeZone zone = new SimpleTimeZone(offset, id); in TestGenericAPI()
534 SimpleTimeZone anotherZone = new SimpleTimeZone(anotherOffset, anotheId); in TestGenericAPI()
566 SimpleTimeZone zone = new SimpleTimeZone(offset, "TestZone"); in TestRuleAPI()
638 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch()
878 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "dstSavingsTest", in TestDSTSavings()
926 SimpleTimeZone tz = new SimpleTimeZone(-5 * millisPerHour, "alternateRuleTest"); in TestAlternateRules()
1123 SimpleTimeZone stz0 = new SimpleTimeZone(32400000, "MyTimeZone"); in TestSimpleTimeZoneSerialization()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleTimeZone.java34 public class SimpleTimeZone extends BasicTimeZone { class
66 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() method in SimpleTimeZone
133 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
180 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
226 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
1150 SimpleTimeZone that = (SimpleTimeZone) obj; in equals()
1234 if(!(othr instanceof SimpleTimeZone)){ in hasSameRules()
1237 SimpleTimeZone other = (SimpleTimeZone)othr; in hasSameRules()
1448 SimpleTimeZone tz = (SimpleTimeZone)super.cloneAsThawed(); in cloneAsThawed()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DSimpleTimeZone.java35 public class SimpleTimeZone extends BasicTimeZone { class
63 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() method in SimpleTimeZone
129 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
175 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
220 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() method in SimpleTimeZone
1124 SimpleTimeZone that = (SimpleTimeZone) obj; in equals()
1205 if(!(othr instanceof SimpleTimeZone)){ in hasSameRules()
1208 SimpleTimeZone other = (SimpleTimeZone)othr; in hasSameRules()
1413 SimpleTimeZone tz = (SimpleTimeZone)super.cloneAsThawed(); in cloneAsThawed()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DZoneMeta.java26 import ohos.global.icu.util.SimpleTimeZone;
589 private static class CustomTimeZoneCache extends SoftCache<Integer, SimpleTimeZone, int[]> {
595 protected SimpleTimeZone createInstance(Integer key, int[] data) { in createInstance()
603 SimpleTimeZone tz = new SimpleTimeZone(offset, id); in createInstance()
618 public static SimpleTimeZone getCustomTimeZone(String id){ in getCustomTimeZone()
775 public static SimpleTimeZone getCustomTimeZone(int offset) { in getCustomTimeZone()
797 return new SimpleTimeZone(offset, zid); in getCustomTimeZone()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DZoneMeta.java25 import com.ibm.icu.util.SimpleTimeZone;
588 private static class CustomTimeZoneCache extends SoftCache<Integer, SimpleTimeZone, int[]> {
594 protected SimpleTimeZone createInstance(Integer key, int[] data) { in createInstance()
602 SimpleTimeZone tz = new SimpleTimeZone(offset, id); in createInstance()
617 public static SimpleTimeZone getCustomTimeZone(String id){ in getCustomTimeZone()
774 public static SimpleTimeZone getCustomTimeZone(int offset) { in getCustomTimeZone()
796 return new SimpleTimeZone(offset, zid); in getCustomTimeZone()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java17 import com.ibm.icu.util.SimpleTimeZone;
244 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
DAstroTest.java27 import com.ibm.icu.util.SimpleTimeZone;
38 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude()
92 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition()
245 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); in TestSunriseTimes()
359 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DTestCase.java18 import ohos.global.icu.util.SimpleTimeZone;
247 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
DAstroTest.java28 import ohos.global.icu.util.SimpleTimeZone;
41 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude()
95 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition()
248 TimeZone tz = new SimpleTimeZone(-18000000 + 3600000, "Montreal(FIXED)"); in TestSunriseTimes()
362 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DEpochOffsets.java19 import com.ibm.icu.util.SimpleTimeZone;
71 TimeZone utc = new SimpleTimeZone(0, "UTC"); in main()

12345