/external/icu/android_icu4j/src/main/java/android/icu/util/ |
DangiCalendar.java | 66 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, millis1898, 74 TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
|
Calendar.java | [all...] |
ChineseCalendar.java | 634 private static final TimeZone CHINA_ZONE = new SimpleTimeZone(8 * ONE_HOUR, "CHINA_ZONE").freeze(); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DangiCalendar.java | 64 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, millis1898, 72 TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
|
Calendar.java | [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimeZoneTest.java | 32 private static final int ONE_HOUR = 3600000; 53 ONE_HOUR, st1.getDSTSavings()); 61 TimeZone tz1 = new Support_TimeZone(-5 * ONE_HOUR, true); 63 ONE_HOUR, tz1.getDSTSavings()); 66 tz1 = new Support_TimeZone(3 * ONE_HOUR, false); 82 -(5 * ONE_HOUR), st1.getOffset(time1)); 88 -(5 * ONE_HOUR), st1.getOffset(time2)); 91 TimeZone tz1 = new Support_TimeZone(-5 * ONE_HOUR, true); 93 -(5 * ONE_HOUR), tz1.getOffset(time1)); 95 -(4 * ONE_HOUR), tz1.getOffset(time2)) [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzbdtest.cpp | 56 ONE_HOUR(60 * ONE_MINUTE), 57 ONE_DAY(24 * ONE_HOUR), 207 logln(UnicodeString("PASS: getRawOffset() = ") + (expZoneOffset / ONE_HOUR)); 209 dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; expected " + (expZoneOffset / ONE_HOUR)); 220 if (offset == expDSTOffset) logln(UnicodeString("PASS: getOffset() = ") + (offset / ONE_HOUR)); 221 else dataerrln(UnicodeString("FAIL: getOffset() = ") + (offset / ONE_HOUR) + "; expected " + (expDSTOffset / ONE_HOUR)); 315 verifyDST(tempcal->getTime(status),pst, TRUE, inDST, -8*ONE_HOUR,inDST ? -7*ONE_HOUR : -8*ONE_HOUR) [all...] |
tzbdtest.h | 89 const UDate ONE_HOUR;
|
tzregts.cpp | 849 const int32_t ONE_HOUR = 60*60*1000; 851 SimpleTimeZone *asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, 852 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 853 UCAL_MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); 877 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, 878 UCAL_APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, 879 UCAL_OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR, status); 897 zone[i] = fmt->format(d+ i*ONE_HOUR, zone[i], pos) [all...] |
calregts.cpp | [all...] |
calcasts.cpp | 47 static const int32_t ONE_HOUR = 60*ONE_MINUTE; 48 static const double ONE_DAY = 24*ONE_HOUR;
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
CalendarAppWidgetServiceTest.java | 45 final long ONE_HOUR = 60 * ONE_MINUTE; 46 final long HALF_HOUR = ONE_HOUR / 2; 47 final long TWO_HOURS = ONE_HOUR * 2; 106 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); 113 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, 140 eventInfo.when = Utils.formatDateRange(context, now + ONE_HOUR, now + TWO_HOURS, 145 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 31 static final int ONE_HOUR = 60*ONE_MINUTE; 32 static final long ONE_DAY = 24*ONE_HOUR; 261 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); 263 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + 264 "; expected " + expRawOffset/(double)ONE_HOUR); 275 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); 287 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + 288 "; expected " + expOffset/(double)ONE_HOUR); 433 tempcal, pst, true, inDST, -8*ONE_HOUR, 434 inDST ? -7*ONE_HOUR : -8*ONE_HOUR) [all...] |
TimeZoneRegressionTest.java | 715 final int ONE_HOUR = 60*60*1000; 716 final float H = (float) ONE_HOUR; 720 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, 721 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 722 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); 729 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, 730 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, 731 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 30 static final int ONE_HOUR = 60*ONE_MINUTE; 31 static final long ONE_DAY = 24*ONE_HOUR; 260 logln("PASS: getRawOffset() = " + expRawOffset/(double)ONE_HOUR); 262 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + 263 "; expected " + expRawOffset/(double)ONE_HOUR); 274 logln("PASS: getOffset() = " + offset/(double)ONE_HOUR); 286 errln("FAIL: getOffset() = " + offset/(double)ONE_HOUR + 287 "; expected " + expOffset/(double)ONE_HOUR); 432 tempcal, pst, true, inDST, -8*ONE_HOUR, 433 inDST ? -7*ONE_HOUR : -8*ONE_HOUR) [all...] |
TimeZoneRegressionTest.java | 714 final int ONE_HOUR = 60*60*1000; 715 final float H = (float) ONE_HOUR; 719 SimpleTimeZone asuncion = new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion" /*PY%sT*/, 720 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 721 Calendar.MARCH, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR); 728 new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus" /*EE%sT*/, 729 Calendar.APRIL, 1, 0 /*DOM*/, 0*ONE_HOUR, 730 Calendar.OCTOBER, 1, 0 /*DOM*/, 0*ONE_HOUR, 1*ONE_HOUR), [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
TestCase.java | 241 protected static final int ONE_HOUR = 60*ONE_MINUTE; 242 protected static final long ONE_DAY = 24*ONE_HOUR;
|
CalendarRegressionTest.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
TestCase.java | 240 protected static final int ONE_HOUR = 60*ONE_MINUTE; 241 protected static final long ONE_DAY = 24*ONE_HOUR;
|
CalendarRegressionTest.java | [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
JobStoreTest.java | 198 final long ONE_HOUR = 60*60*1000L; // flex 199 final long TWO_HOURS = 2 * ONE_HOUR; // period 201 .setPeriodic(TWO_HOURS, ONE_HOUR) 204 SystemClock.elapsedRealtime() + (TWO_HOURS * ONE_HOUR) + TWO_HOURS; // > period+flex 226 loaded.getEarliestRunTime() <= newNowElapsed + TWO_HOURS + ONE_HOUR);
|
/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/ |
Util.java | 118 public static final long ONE_HOUR = 3600000L; 505 } else if (time < Util.ONE_HOUR) { // less than 1h 511 long h = time / Util.ONE_HOUR; 513 long m = (time % Util.ONE_HOUR) / Util.ONE_MINUTE;
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 411 private static final int ONE_HOUR = 60*ONE_MINUTE; 412 private static final long ONE_DAY = 24*ONE_HOUR; 456 -13*ONE_HOUR, // ZONE_OFFSET (UNIX compatibility) 475 14*ONE_HOUR, // ZONE_OFFSET 494 14*ONE_HOUR, // ZONE_OFFSET 495 2*ONE_HOUR // DST_OFFSET (double summer time) [all...] |
JapaneseImperialCalendar.java | 111 private static final int ONE_HOUR = 60*ONE_MINUTE; 112 private static final long ONE_DAY = 24*ONE_HOUR; 176 -13*ONE_HOUR, // ZONE_OFFSET (UNIX compatibility) 195 14*ONE_HOUR, // ZONE_OFFSET 214 14*ONE_HOUR, // ZONE_OFFSET 215 2*ONE_HOUR // DST_OFFSET (double summer time) 573 time += ONE_HOUR * (nh - h); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 225 double ONE_HOUR = 3600d * 1000d; 226 return c.getTimeInMillis() / ONE_HOUR;
|