/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 39 final int HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 43 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 44 {2006, Calendar.APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 45 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 46 {2006, Calendar.APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 47 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 48 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 49 {2006, Calendar.OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 50 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, Calendar.OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
D | TimeZoneRuleTest.java | 46 private static final int HOUR = 60 * 60 * 1000; field in TimeZoneRuleTest 53 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 54 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 55 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 56 1*HOUR); in TestSimpleRuleBasedTimeZone() 65 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone() 66 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone() 71 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 73 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone() 77 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 42 final int HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 46 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 47 {2006, Calendar.APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 48 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 49 {2006, Calendar.APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 50 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 52 {2006, Calendar.OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 53 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 54 {2006, Calendar.OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
D | TimeZoneRuleTest.java | 49 private static final int HOUR = 60 * 60 * 1000; field in TimeZoneRuleTest 56 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 57 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 58 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 59 1*HOUR); in TestSimpleRuleBasedTimeZone() 68 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone() 69 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone() 74 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 76 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone() 80 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzoffloc.cpp | 46 const int32_t HOUR = 60*60*1000; in TestGetOffsetAroundTransition() local 50 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 51 {2006, UCAL_APRIL, 2, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() 52 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 53 {2006, UCAL_APRIL, 2, 3, 00, 3*HOUR}, in TestGetOffsetAroundTransition() 54 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 55 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 56 {2006, UCAL_OCTOBER, 29, 1, 00, 1*HOUR}, in TestGetOffsetAroundTransition() 57 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition() 58 {2006, UCAL_OCTOBER, 29, 2, 00, 2*HOUR}, in TestGetOffsetAroundTransition() [all …]
|
D | tzrulets.cpp | 34 #define HOUR (60*60*1000) macro 155 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone() 156 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone() 157 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone() 158 1*HOUR, status); in TestSimpleRuleBasedTimeZone() 169 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone() 170 1*HOUR); // DST saving amount in TestSimpleRuleBasedTimeZone() 175 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 177 -1*HOUR /*rawOffset*/, 1*HOUR /*dstSavings*/, dtr, in TestSimpleRuleBasedTimeZone() 184 1*HOUR, DateTimeRule::WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() [all …]
|
/external/python/cpython3/Doc/includes/ |
D | tzinfo_examples.py | 4 HOUR = timedelta(hours=1) variable 142 if start + HOUR <= dt < end - HOUR: 144 return HOUR 145 if end - HOUR <= dt < end: 147 return ZERO if dt.fold else HOUR 148 if start <= dt < start + HOUR: 150 return HOUR if dt.fold else ZERO 160 dst_time = std_time + HOUR 161 if end <= dst_time < end + HOUR: 167 if start <= std_time < end - HOUR:
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 226 private static final int HOUR = 60*60*1000; field in SerializableTestUtility 228 new AnnualTimeZoneRule("EST", -5*HOUR, 0, 229 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 232 new AnnualTimeZoneRule("EST", -5*HOUR, 0, 233 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 236 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, 237 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 240 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, 241 new DateTimeRule(Calendar.JANUARY, 6, 2*HOUR, DateTimeRule.WALL_TIME), 244 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 223 private static final int HOUR = 60*60*1000; field in SerializableTestUtility 225 new AnnualTimeZoneRule("EST", -5*HOUR, 0, 226 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 229 new AnnualTimeZoneRule("EST", -5*HOUR, 0, 230 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 233 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, 234 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 237 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, 238 new DateTimeRule(Calendar.JANUARY, 6, 2*HOUR, DateTimeRule.WALL_TIME), 241 new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DayPeriodsCheck.java | 14 private static final int HOUR = 60 * 60 * 1000; field in DayPeriodsCheck 83 for (int i = 0; i < 24 * HOUR; i += HOUR) { in main() 95 for (int i = 0; i < 24 * HOUR; i += HOUR) { in main() 102 … System.out.print(locale + "\t" + i / HOUR + "..\t" + dayPeriodOld + " → " + dayPeriod); in main() 110 …System.out.print(locale + "\t" + i / HOUR + "..\t" + dayPeriod + "\t\t" + sampleOld + "\t→\t" + sa… in main() 136 DayPeriod lastDayPeriod = dayPeriods.get(start * HOUR); in main() 139 DayPeriod dayPeriod = dayPeriods.get(i * HOUR); in main()
|
D | DayPeriodConverter.java | 243 allData.put(ulocale, 12 * DayPeriodInfo.HOUR, DayPeriodInfo.DayPeriod.noon); in generateFormat() 256 if (time == 12 * DayPeriodInfo.HOUR) { in generateFormat() 258 … } else if (lastTime < 12 * DayPeriodInfo.HOUR && time > 12 * DayPeriodInfo.HOUR) { in generateFormat() 260 allData.put(ulocale, 12 * DayPeriodInfo.HOUR + 1, lastPeriod); in generateFormat() 277 int end = i + 1 == list.size() ? 24 * DayPeriodInfo.HOUR : list.get(i + 1).getKey(); in generateFormat() 282 start /= DayPeriodInfo.HOUR; in generateFormat() 283 end /= DayPeriodInfo.HOUR; in generateFormat()
|
D | LenientDateParser.java | 54 private static final int HOUR = 60 * MINUTE; field in LenientDateParser 85 …private static final EnumSet<Type> timeTypes = EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECOND, Typ… 87 …private static final EnumSet<Type> integerTimeTypes = EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECO… 334 case HOUR: in parse() 335 calendar.set(Calendar.HOUR, value); in parse() 406 firstType = hasDate ? Type.YEAR : Type.HOUR; in setFirstType() 423 firstType = Type.HOUR; in setFirstType() 453 … ERA, YEAR, MONTH, WEEKDAY, DAY, HOUR, MINUTE, SECOND, AMPM, TIMEZONE, INTEGER, SEPARATOR, UNKNOWN; enumConstant 484 return Type.HOUR; in getType() 617 allowsAt = value == 0 ? EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECOND) in IntegerToken() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | TimeUnitConstants.java | 31 public static final TimeUnit HOUR = TimeUnit.HOUR; field
|
D | TimeUnit.java | 49 public static final TimeUnit HOUR = new TimeUnit("hour", 4); field in TimeUnit 72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | TimeUnitConstants.java | 29 public static final TimeUnit HOUR = TimeUnit.HOUR; field
|
D | TimeUnit.java | 47 public static final TimeUnit HOUR = new TimeUnit("hour", 4); field in TimeUnit 70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeUnit.java | 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; in values() 54 return HOUR; in readResolve()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeUnit.java | 40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; in values() 56 return HOUR; in readResolve()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/ |
D | 1-1.c | 15 #define HOUR 1 macro 45 time_ptr.tm_hour = HOUR; in main()
|
/external/autotest/client/site_tests/power_ThermalLoad/ |
D | power_ThermalLoad.py | 17 HOUR = 60 * 60 variable in power_ThermalLoad 19 def run_once(self, test_url=JELLYFISH_URL, duration=2.5 * HOUR):
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalFormat.java | 662 } else if ( fromCalendar.get(Calendar.HOUR) != in getPatterns() 663 toCalendar.get(Calendar.HOUR) ) { in getPatterns() 664 field = Calendar.HOUR; in getPatterns() 723 } else if ( fromCalendar.get(Calendar.HOUR) != in format() 724 toCalendar.get(Calendar.HOUR) ) { in format() 725 field = Calendar.HOUR; in format() 738 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in format() 1253 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern() 1569 … genIntervalPattern(Calendar.HOUR, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn() 1623 Calendar.HOUR); in genIntervalPattern()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 669 } else if ( fromCalendar.get(Calendar.HOUR) != in getPatterns() 670 toCalendar.get(Calendar.HOUR) ) { in getPatterns() 671 field = Calendar.HOUR; in getPatterns() 731 } else if ( fromCalendar.get(Calendar.HOUR) != in format() 732 toCalendar.get(Calendar.HOUR) ) { in format() 733 field = Calendar.HOUR; in format() 746 …boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE… in format() 1265 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern() 1581 … genIntervalPattern(Calendar.HOUR, skeleton, bestSkeleton, differenceInfo, intervalPatterns); in genSeparateDateTimePtn() 1635 Calendar.HOUR); in genIntervalPattern()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 311 MeasureUnit.HOUR, in TestCompatible53() 349 MeasureUnit.HOUR, in TestCompatible54() 477 MeasureUnit.HOUR, in TestCompatible55() 609 MeasureUnit.HOUR, in TestCompatible56() 750 MeasureUnit.HOUR, in TestCompatible57() 895 MeasureUnit.HOUR, in TestCompatible58() 1036 MeasureUnit.HOUR, in TestCompatible59() 1184 MeasureUnit.HOUR, in TestCompatible63() 1331 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1334 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitTest.java | 314 MeasureUnit.HOUR, in TestCompatible53() 352 MeasureUnit.HOUR, in TestCompatible54() 480 MeasureUnit.HOUR, in TestCompatible55() 612 MeasureUnit.HOUR, in TestCompatible56() 753 MeasureUnit.HOUR, in TestCompatible57() 898 MeasureUnit.HOUR, in TestCompatible58() 1039 MeasureUnit.HOUR, in TestCompatible59() 1187 MeasureUnit.HOUR, in TestCompatible63() 1334 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1337 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ScriptData.txt | 698 U+3358 ( ㍘ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ZERO 699 U+3359 ( ㍙ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ONE 700 U+335A ( ㍚ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWO 701 U+335B ( ㍛ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR THREE 702 U+335C ( ㍜ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FOUR 703 U+335D ( ㍝ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIVE 704 U+335E ( ㍞ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIX 705 U+335F ( ㍟ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVEN 706 U+3360 ( ㍠ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHT 707 U+3361 ( ㍡ ) IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINE [all …]
|