Home
last modified time | relevance | path

Searched refs:ONE_HOUR (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp56 ONE_HOUR(60 * ONE_MINUTE), in TimeZoneBoundaryTest()
57 ONE_DAY(24 * ONE_HOUR), in TimeZoneBoundaryTest()
207 logln(UnicodeString("PASS: getRawOffset() = ") + (expZoneOffset / ONE_HOUR)); in verifyDST()
209 …tRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; expected " + (expZoneOffset / ONE… in verifyDST()
220 if (offset == expDSTOffset) logln(UnicodeString("PASS: getOffset() = ") + (offset / ONE_HOUR)); in verifyDST()
221 …UnicodeString("FAIL: getOffset() = ") + (offset / ONE_HOUR) + "; expected " + (expDSTOffset / ONE_… in verifyDST()
315 …erifyDST(tempcal->getTime(status),pst, TRUE, inDST, -8*ONE_HOUR,inDST ? -7*ONE_HOUR : -8*ONE_HOUR); in TestBoundaries()
331 verifyDST(e, z, TRUE, inDST, - 8 * ONE_HOUR, inDST ? - 7 * ONE_HOUR: - 8 * ONE_HOUR); in TestBoundaries()
430 …Zone(- 8 * (int32_t)ONE_HOUR, "Test_1", UCAL_AUGUST, 2, UCAL_TUESDAY, 2 * (int32_t)ONE_HOUR, UCAL_… in TestNewRules()
438 …(int32_t)ONE_HOUR, "Test_2", UCAL_APRIL, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBE… in TestNewRules()
Dcalregts.cpp1321 double ONE_HOUR = 60*60*1000; in test4114578() local
1329 UDate onset = makeDate(1998, UCAL_APRIL, 5, 1, 0) + ONE_HOUR; in test4114578()
1330 UDate cease = makeDate(1998, UCAL_OCTOBER, 25, 0, 0) + 2*ONE_HOUR; in test4114578()
1339 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in test4114578()
1340 onset, ADD, -1, -ONE_HOUR, in test4114578()
1341 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in test4114578()
1342 onset, ROLL, -1, -ONE_HOUR, in test4114578()
1343 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in test4114578()
1344 cease, ADD, -1, -ONE_HOUR, in test4114578()
1345 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in test4114578()
[all …]
Dtzregts.cpp851 const int32_t ONE_HOUR = 60*60*1000; in Test4162593() local
853 SimpleTimeZone *asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
854 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
855 UCAL_MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); in Test4162593()
879 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
880 UCAL_APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
881 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); in Test4162593()
899 zone[i] = fmt->format(d+ i*ONE_HOUR, zone[i], pos); in Test4162593()
Dtzbdtest.h89 const UDate ONE_HOUR; variable
Dcalcasts.cpp47 static const int32_t ONE_HOUR = 60*ONE_MINUTE; in doTestCases() local
48 static const double ONE_DAY = 24*ONE_HOUR; in doTestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java33 static final int ONE_HOUR = 60*ONE_MINUTE; field in TimeZoneBoundaryTest
34 static final long ONE_DAY = 24*ONE_HOUR;
263 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); in verifyDST()
265 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST()
266 "; expected " + expRawOffset/(double)ONE_HOUR); in verifyDST()
277 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); in verifyDST()
289 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + in verifyDST()
290 "; expected " + expOffset/(double)ONE_HOUR); in verifyDST()
435 tempcal, pst, true, inDST, -8*ONE_HOUR, in TestBoundaries()
436 inDST ? -7*ONE_HOUR : -8*ONE_HOUR); in TestBoundaries()
[all …]
DTimeZoneRegressionTest.java717 final int ONE_HOUR = 60*60*1000; in Test4162593() local
718 final float H = ONE_HOUR; in Test4162593()
722 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
723 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
724 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); in Test4162593()
731 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
732 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
733 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), in Test4162593()
764 Date d = new Date(start + i*ONE_HOUR); in Test4162593()
774 int ms = h*ONE_HOUR; in Test4162593()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java36 static final int ONE_HOUR = 60*ONE_MINUTE; field in TimeZoneBoundaryTest
37 static final long ONE_DAY = 24*ONE_HOUR;
266 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); in verifyDST()
268 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST()
269 "; expected " + expRawOffset/(double)ONE_HOUR); in verifyDST()
280 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); in verifyDST()
292 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + in verifyDST()
293 "; expected " + expOffset/(double)ONE_HOUR); in verifyDST()
438 tempcal, pst, true, inDST, -8*ONE_HOUR, in TestBoundaries()
439 inDST ? -7*ONE_HOUR : -8*ONE_HOUR); in TestBoundaries()
[all …]
DTimeZoneRegressionTest.java720 final int ONE_HOUR = 60*60*1000; in Test4162593() local
721 final float H = ONE_HOUR; in Test4162593()
725 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
726 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
727 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); in Test4162593()
734 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
735 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
736 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), in Test4162593()
767 Date d = new Date(start + i*ONE_HOUR); in Test4162593()
777 int ms = h*ONE_HOUR; in Test4162593()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDangiCalendar.java64 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
68 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897,
70 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli…
72 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
DCalendar.java1226 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in Calendar
1234 protected static final long ONE_DAY = 24*ONE_HOUR;
2858 setTimeInMillis(start + ONE_HOUR * ((long)newHour - oldHour)); in roll()
3260 delta *= 12 * ONE_HOUR; in add()
3273 delta *= ONE_HOUR; in add()
4350 {-12*ONE_HOUR, -12*ONE_HOUR, 12*ONE_HOUR, 12*ONE_HOUR }, // ZONE_OFFSET
4351 { 0, 0, 1*ONE_HOUR, 1*ONE_HOUR }, // DST_OFFSET
4356 { 0, 0, 24*ONE_HOUR-1, 24*ONE_HOUR-1 }, // MILLISECONDS_IN_DAY
DChineseCalendar.java652 …private static final TimeZone CHINA_ZONE = new SimpleTimeZone(8 * ONE_HOUR, "CHINA_ZONE").freeze();
/external/icu/android_icu4j/src/main/java/android/icu/util/
DDangiCalendar.java66 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
70 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897,
72 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli…
74 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
DCalendar.java1178 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in Calendar
1185 protected static final long ONE_DAY = 24*ONE_HOUR;
2761 setTimeInMillis(start + ONE_HOUR * ((long)newHour - oldHour)); in roll()
3162 delta *= 12 * ONE_HOUR; in add()
3175 delta *= ONE_HOUR; in add()
4231 {-12*ONE_HOUR, -12*ONE_HOUR, 12*ONE_HOUR, 12*ONE_HOUR }, // ZONE_OFFSET
4232 { 0, 0, 1*ONE_HOUR, 1*ONE_HOUR }, // DST_OFFSET
4237 { 0, 0, 24*ONE_HOUR-1, 24*ONE_HOUR-1 }, // MILLISECONDS_IN_DAY
DChineseCalendar.java634 …private static final TimeZone CHINA_ZONE = new SimpleTimeZone(8 * ONE_HOUR, "CHINA_ZONE").freeze();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DTestCase.java243 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in TestCase
244 protected static final long ONE_DAY = 24*ONE_HOUR;
DCalendarRegressionTest.java868 int ONE_HOUR = 60*60*1000; in Test4114578() local
875 long onset = tempcal.getTime().getTime() + ONE_HOUR; in Test4114578()
877 long cease = tempcal.getTime().getTime() + 2*ONE_HOUR; in Test4114578()
886 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
887 onset, ADD, -1, -ONE_HOUR, in Test4114578()
888 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
889 onset, ROLL, -1, -ONE_HOUR, in Test4114578()
890 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
891 cease, ADD, -1, -ONE_HOUR, in Test4114578()
892 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java240 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in TestCase
241 protected static final long ONE_DAY = 24*ONE_HOUR;
DCalendarRegressionTest.java865 int ONE_HOUR = 60*60*1000; in Test4114578() local
872 long onset = tempcal.getTime().getTime() + ONE_HOUR; in Test4114578()
874 long cease = tempcal.getTime().getTime() + 2*ONE_HOUR; in Test4114578()
883 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
884 onset, ADD, -1, -ONE_HOUR, in Test4114578()
885 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
886 onset, ROLL, -1, -ONE_HOUR, in Test4114578()
887 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
888 cease, ADD, -1, -ONE_HOUR, in Test4114578()
889 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
[all …]
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j59.api3.gz
Dicu4j58.api3.gz

12