/external/python/cpython3/Lib/ |
datetime.py | 291 def _check_time_fields(hour, minute, second, microsecond, fold): 292 hour = _check_int_field(hour) 296 if not 0 <= hour <= 23: 297 raise ValueError('hour must be in 0..23', hour) 306 return hour, minute, second, microsecond, fold 1079 def hour(self): member in class:time 1395 def hour(self): member in class:datetime [all...] |
/external/python/cpython3/Modules/ |
faulthandler.c | 600 unsigned long us, sec, min, hour; local 609 hour = min / 60; 615 hour, min, sec, us); 619 hour, min, sec); [all...] |
/external/v8/src/builtins/ |
builtins-date.cc | 88 // ES6 section 20.3.1.12 MakeTime (hour, min, sec, ms) 89 double MakeTime(double hour, double min, double sec, double ms) { 90 if (std::isfinite(hour) && std::isfinite(min) && std::isfinite(sec) && 92 double const h = DoubleToInteger(hour); 156 int year, month, day, weekday, hour, min, sec, ms; local 157 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, 169 SNPrintF(str, "%02d:%02d:%02d GMT%c%02d%02d (%s)", hour, min, sec, 175 kShortWeekDays[weekday], kShortMonths[month], day, year, hour, 413 // ES6 section 20.3.4.22 Date.prototype.setHours(hour, min, sec, ms) 418 Handle<Object> hour = args.atOrUndefined(isolate, 1) local 619 Handle<Object> hour = args.atOrUndefined(isolate, 1); local 773 int year, month, day, weekday, hour, min, sec, ms; local 779 month + 1, day, hour, min, sec, ms); local 782 month + 1, day, hour, min, sec, ms); local 785 month + 1, day, hour, min, sec, ms); local 822 int year, month, day, weekday, hour, min, sec, ms; local 826 kShortWeekDays[weekday], day, kShortMonths[month], year, hour, min, local [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 76 * True if this is an allDay event. The hour, minute, second fields are 92 * Hour of day [0-23] 94 public int hour; field in class:Time 147 public static final int HOUR = 3; 257 * @param field one of the constants for HOUR, MINUTE, SECOND, etc. 266 case HOUR: 308 this.hour = 0; 332 * hour}, {@code minute}, and {@code second} are not 0. 386 * field of this Time class is set to true and the <code>hour</code>, 459 // hour 592 int hour = n; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 702 int hour = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); local 724 time.hour = hour; [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 258 iterator.hour, 259 iterator.getActualMaximum(Time.HOUR)); 785 freqField = Time.HOUR; 956 int hour = usebyhour local 1141 int hour = date.hour; local [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Date.java | 48 * functions. It allowed the interpretation of dates as year, month, day, hour, 106 * <li>An hour is represented by an integer from 0 to 23. Thus, the hour 107 * from midnight to 1 a.m. is hour 0, and the hour from noon to 1 108 * p.m. is hour 12. 294 * hour of the day, minute within the hour, and second within the 372 * expressed in 24-hour time format without punctuation. A 398 * <li>If the number is followed by a colon, it is regarded as an hour, 458 int hour = -1; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
telephony.h | 101 char hour[3]; member in struct:__anon62867
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
sqltypes.h | 130 SQLUSMALLINT hour; member in struct:tagTIME_STRUCT 143 SQLUSMALLINT hour; member in struct:tagTIMESTAMP_STRUCT 169 SQLUINTEGER hour; member in struct:tagSQL_DAY_SECOND
|
wsdxml.h | 109 UCHAR hour; member in struct:_WSD_DATETIME 123 ULONG hour; member in struct:_WSD_DURATION
|
msasn1.h | 125 ASN1uint8_t hour; member in struct:tagASN1generalizedtime_t 137 ASN1uint8_t hour; member in struct:tagASN1utctime_t
|
xcmc.h | 42 CMC_sint8 hour; member in struct:__anon66345
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvContractTest.java | 965 final long hour = 3600000l; local [all...] |
/external/curl/lib/ |
ftp.c | 2052 int year, month, day, hour, minute, second; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VTimeZone.java | 376 private static final int DEF_DSTSAVINGS = 60*60*1000; // 1 hour 669 // This is rare case.. just use 1 hour DST savings 694 // is DST when the difference is 1 hour. This might not be 1900 int hour = t \/ Grego.MILLIS_PER_HOUR; local 1924 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 1988 int sign = 0, hour = 0, min = 0, sec = 0; local 2040 int hour, min, sec; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CompatibilityTest.java | 39 "DAY_OF_WEEK_IN_MONTH", "AM_PM", "HOUR", "HOUR_OF_DAY", 782 private int hour; field in class:CompatibilityTest.TransitionItem 788 hour = h; 794 public int getHour() { return hour; } 814 errln("Error: Calendar.add produced wrong hour " + hr + " when adding day across transition for zone " + zoneName); 819 errln("Error: Calendar.add produced wrong hour " + hr + " when subtracting day across transition for zone " + zoneName); [all...] |
/external/icu/icu4c/source/i18n/ |
timezone.cpp | 1303 int32_t sign, hour, min, sec; local 1319 int32_t sign, hour, min, sec; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ccaltst.c | 169 api = "ucal_openTimeZoneIDEnumerarion(UCAL_ZONE_TYPE_ANY, NULL, -5 hour)"; 173 api = "ucal_openTimeZoneIDEnumerarion(UCAL_ZONE_TYPE_ANY, US, -5 hour)"; 501 int32_t hour; local 616 hour=ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status); 635 if(hour == ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) 637 else if((hour-8 + 1) != ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) /*because it is not in daylight savings time */ 638 log_err("FAIL: Error setTimeZone doesn't change the represented time correctly with 8 hour offset\n"); 907 int32_t hour; member in struct:__anon21539 1669 int32_t hour; member in struct:__anon21540 [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.cpp | 2464 int32_t hour; member in class:CalFields [all...] |
tztest.cpp | 1912 int32_t year, month, day, hour, minute, second; member in struct:__anon21753 [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VTimeZone.java | 407 private static final int DEF_DSTSAVINGS = 60*60*1000; // 1 hour 700 // This is rare case.. just use 1 hour DST savings 725 // is DST when the difference is 1 hour. This might not be 1931 int hour = t \/ Grego.MILLIS_PER_HOUR; local 1955 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 2019 int sign = 0, hour = 0, min = 0, sec = 0; local 2071 int hour, min, sec; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CompatibilityTest.java | 36 "DAY_OF_WEEK_IN_MONTH", "AM_PM", "HOUR", "HOUR_OF_DAY", 779 private int hour; field in class:CompatibilityTest.TransitionItem 785 hour = h; 791 public int getHour() { return hour; } 811 errln("Error: Calendar.add produced wrong hour " + hr + " when adding day across transition for zone " + zoneName); 816 errln("Error: Calendar.add produced wrong hour " + hr + " when subtracting day across transition for zone " + zoneName); [all...] |
/external/pdfium/xfa/fgas/crt/ |
cfgas_formatstring.cpp | 347 uint32_t hour = 0; local 386 hour = 0; 387 if (!ExtractCountDigitsWithOptional(str, len, 1, cc, &hour)) 389 if (symbol == L"K" && hour == 24) 390 hour = 0; 393 hour = 0; 394 if (!ExtractCountDigits(str, len, 2, cc, &hour)) 396 if (symbol == L"KK" && hour == 24) 397 hour = 0; 447 ResolveZone(tzDiff, pLocale, &hour, &minute) 628 uint8_t hour = datetime.GetHour(); local 772 uint32_t hour = 0; local [all...] |
/external/v8/src/ |
objects-debug.cc | 507 CHECK(hour()->IsUndefined(isolate) || hour()->IsSmi() || hour()->IsNaN()); 521 if (hour()->IsSmi()) { 522 int hour = Smi::cast(this->hour())->value(); local 523 CHECK(0 <= hour && hour <= 23); [all...] |
/system/core/liblog/ |
logprint.c | 930 static const uint64_t hour = 60 * minute; local 931 static const uint64_t day = 24 * hour; 945 if (val >= hour) { 947 (val / hour) % (day / hour)); 954 (val >= hour) ? "%02" PRIu64 ":" : "%" PRIu64 ":", 955 (val / minute) % (hour / minute)); [all...] |