Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp54 ONE_HOUR(60 * ONE_MINUTE), in TimeZoneBoundaryTest()
55 ONE_DAY(24 * ONE_HOUR), in TimeZoneBoundaryTest()
205 logln(UnicodeString("PASS: getRawOffset() = ") + (expZoneOffset / ONE_HOUR)); in verifyDST()
207 …tRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; expected " + (expZoneOffset / ONE… in verifyDST()
218 if (offset == expDSTOffset) logln(UnicodeString("PASS: getOffset() = ") + (offset / ONE_HOUR)); in verifyDST()
219 …UnicodeString("FAIL: getOffset() = ") + (offset / ONE_HOUR) + "; expected " + (expDSTOffset / ONE_… in verifyDST()
313 …erifyDST(tempcal->getTime(status),pst, TRUE, inDST, -8*ONE_HOUR,inDST ? -7*ONE_HOUR : -8*ONE_HOUR); in TestBoundaries()
329 verifyDST(e, z, TRUE, inDST, - 8 * ONE_HOUR, inDST ? - 7 * ONE_HOUR: - 8 * ONE_HOUR); in TestBoundaries()
428 …Zone(- 8 * (int32_t)ONE_HOUR, "Test_1", UCAL_AUGUST, 2, UCAL_TUESDAY, 2 * (int32_t)ONE_HOUR, UCAL_… in TestNewRules()
436 …(int32_t)ONE_HOUR, "Test_2", UCAL_APRIL, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBE… in TestNewRules()
Dcalregts.cpp1313 double ONE_HOUR = 60*60*1000; in test4114578() local
1321 UDate onset = makeDate(1998, UCAL_APRIL, 5, 1, 0) + ONE_HOUR; in test4114578()
1322 UDate cease = makeDate(1998, UCAL_OCTOBER, 25, 0, 0) + 2*ONE_HOUR; in test4114578()
1331 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in test4114578()
1332 onset, ADD, -1, -ONE_HOUR, in test4114578()
1333 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in test4114578()
1334 onset, ROLL, -1, -ONE_HOUR, in test4114578()
1335 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in test4114578()
1336 cease, ADD, -1, -ONE_HOUR, in test4114578()
1337 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in test4114578()
[all …]
Dtzregts.cpp849 const int32_t ONE_HOUR = 60*60*1000; in Test4162593() local
851 SimpleTimeZone *asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
852 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
853 UCAL_MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); in Test4162593()
877 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
878 UCAL_APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
879 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); in Test4162593()
897 zone[i] = fmt->format(d+ i*ONE_HOUR, zone[i], pos); in Test4162593()
Dtzbdtest.h87 const UDate ONE_HOUR; variable
Dcalcasts.cpp45 static const int32_t ONE_HOUR = 60*ONE_MINUTE; in doTestCases() local
46 static const double ONE_DAY = 24*ONE_HOUR; in doTestCases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java30 static final int ONE_HOUR = 60*ONE_MINUTE; field in TimeZoneBoundaryTest
31 static final long ONE_DAY = 24*ONE_HOUR;
264 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); in verifyDST()
266 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST()
267 "; expected " + expRawOffset/(double)ONE_HOUR); in verifyDST()
278 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); in verifyDST()
290 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + in verifyDST()
291 "; 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 …]
DTimeZoneRegression.java704 final int ONE_HOUR = 60*60*1000; in Test4162593() local
705 final float H = (float) ONE_HOUR; in Test4162593()
709 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
710 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
711 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); in Test4162593()
718 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
719 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
720 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), in Test4162593()
751 Date d = new Date(start + i*ONE_HOUR); in Test4162593()
761 int ms = h*ONE_HOUR; in Test4162593()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java26 static final int ONE_HOUR = 60*ONE_MINUTE; field in TimeZoneBoundaryTest
27 static final long ONE_DAY = 24*ONE_HOUR;
260 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); in verifyDST()
262 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST()
263 "; expected " + expRawOffset/(double)ONE_HOUR); in verifyDST()
274 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); in verifyDST()
286 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + in verifyDST()
287 "; expected " + expOffset/(double)ONE_HOUR); in verifyDST()
431 tempcal, pst, true, inDST, -8*ONE_HOUR, in TestBoundaries()
432 inDST ? -7*ONE_HOUR : -8*ONE_HOUR); in TestBoundaries()
[all …]
DTimeZoneRegression.java700 final int ONE_HOUR = 60*60*1000; in Test4162593() local
701 final float H = (float) ONE_HOUR; in Test4162593()
705 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, in Test4162593()
706 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
707 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); in Test4162593()
714 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, in Test4162593()
715 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, in Test4162593()
716 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), in Test4162593()
747 Date d = new Date(start + i*ONE_HOUR); in Test4162593()
757 int ms = h*ONE_HOUR; in Test4162593()
[all …]
/external/icu/android_icu4j/src/main/java/android/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.java1171 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in Calendar
1178 protected static final long ONE_DAY = 24*ONE_HOUR;
2785 setTimeInMillis(start + ONE_HOUR * ((long)newHour - oldHour)); in roll()
3186 delta *= 12 * ONE_HOUR; in add()
3199 delta *= ONE_HOUR; in add()
4172 {-12*ONE_HOUR, -12*ONE_HOUR, 12*ONE_HOUR, 12*ONE_HOUR }, // ZONE_OFFSET
4173 { 0, 0, 1*ONE_HOUR, 1*ONE_HOUR }, // DST_OFFSET
4178 { 0, 0, 24*ONE_HOUR-1, 24*ONE_HOUR-1 }, // MILLISECONDS_IN_DAY
DChineseCalendar.java632 …private static final TimeZone CHINA_ZONE = new SimpleTimeZone(8 * ONE_HOUR, "CHINA_ZONE").freeze();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDangiCalendar.java62 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
66 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897,
68 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli…
70 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
DCalendar.java1221 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in Calendar
1229 protected static final long ONE_DAY = 24*ONE_HOUR;
2884 setTimeInMillis(start + ONE_HOUR * ((long)newHour - oldHour)); in roll()
3286 delta *= 12 * ONE_HOUR; in add()
3299 delta *= ONE_HOUR; in add()
4294 {-12*ONE_HOUR, -12*ONE_HOUR, 12*ONE_HOUR, 12*ONE_HOUR }, // ZONE_OFFSET
4295 { 0, 0, 1*ONE_HOUR, 1*ONE_HOUR }, // DST_OFFSET
4300 { 0, 0, 24*ONE_HOUR-1, 24*ONE_HOUR-1 }, // MILLISECONDS_IN_DAY
DChineseCalendar.java650 …private static final TimeZone CHINA_ZONE = new SimpleTimeZone(8 * ONE_HOUR, "CHINA_ZONE").freeze();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
DUtil.java118 public static final long ONE_HOUR = 3600000L; field in Util
505 } else if (time < Util.ONE_HOUR) { // less than 1h in timeString()
511 long h = time / Util.ONE_HOUR; in timeString()
513 long m = (time % Util.ONE_HOUR) / Util.ONE_MINUTE; in timeString()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java237 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in TestCase
238 protected static final long ONE_DAY = 24*ONE_HOUR;
DCalendarRegression.java837 int ONE_HOUR = 60*60*1000; in Test4114578() local
844 long onset = tempcal.getTime().getTime() + ONE_HOUR; in Test4114578()
846 long cease = tempcal.getTime().getTime() + 2*ONE_HOUR; in Test4114578()
855 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
856 onset, ADD, -1, -ONE_HOUR, in Test4114578()
857 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
858 onset, ROLL, -1, -ONE_HOUR, in Test4114578()
859 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
860 cease, ADD, -1, -ONE_HOUR, in Test4114578()
861 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DTestCase.java238 protected static final int ONE_HOUR = 60*ONE_MINUTE; field in TestCase
239 protected static final long ONE_DAY = 24*ONE_HOUR;
DCalendarRegression.java841 int ONE_HOUR = 60*60*1000; in Test4114578() local
848 long onset = tempcal.getTime().getTime() + ONE_HOUR; in Test4114578()
850 long cease = tempcal.getTime().getTime() + 2*ONE_HOUR; in Test4114578()
859 onset - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
860 onset, ADD, -1, -ONE_HOUR, in Test4114578()
861 onset - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
862 onset, ROLL, -1, -ONE_HOUR, in Test4114578()
863 cease - ONE_HOUR, ADD, 1, ONE_HOUR, in Test4114578()
864 cease, ADD, -1, -ONE_HOUR, in Test4114578()
865 cease - ONE_HOUR, ROLL, 1, ONE_HOUR, in Test4114578()
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py708 ONE_HOUR = 60*60 variable in _CacheControl
709 ONE_DAY = ONE_HOUR * 24
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz12;ICU4J 49.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j51.api3.gz
Dicu4j50.api3.gz

12