/external/icu/icu4c/source/test/compat/ |
H A D | tzone.pl | 10 print "Usage: tzone [year month day hour minute]\n"; 22 my $day = 0; 28 ($year, $month, $day, $hour, $minute) = @ARGV; 29 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 54 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
H A D | tzdate.c | 34 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 41 int year, month, day, hour, minute; local 46 sysyear = year = month = day = 0; 55 day = atoi(argv[3]); 63 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 111 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { argument 123 ts.tm_mday = day;
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | XMPDateTimeImpl.java | 36 private int day = 0; field in class:XMPDateTimeImpl 82 this.day = intCalendar.get(Calendar.DAY_OF_MONTH); 104 this.day = calendar.get(Calendar.DAY_OF_MONTH); 177 return day; 184 public void setDay(int day) argument 186 if (day < 1) 188 this.day = 1; 190 else if (day > 31) 192 this.day = 31; 196 this.day [all...] |
/external/swiftshader/third_party/LLVM/utils/ |
H A D | parseNLT.pl | 12 $day = $2; 23 { print "\n$day $mon $year $prefix/$output"; } 34 { print "\n$day $mon $year $prefix/$output"; $output = ""; }
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | HebrewCalendar.java | 25 * on the day of (an arithmetic approximation of) each new moon. Since the 155 * time of day in sync with that of the Gregorian calendar, we use 156 * midnight, rather than sunset the day before. 558 // counting from noon on the day before. BAHARAD is an abbreviation of 563 * Finds the day # of the first day in the given Hebrew year. 584 long day = cache.get(year); 586 if (day == CalendarCache.EMPTY) { 589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 590 day [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | HebrewCalendar.java | 24 * on the day of (an arithmetic approximation of) each new moon. Since the 168 * time of day in sync with that of the Gregorian calendar, we use 169 * midnight, rather than sunset the day before. 582 // counting from noon on the day before. BAHARAD is an abbreviation of 587 * Finds the day # of the first day in the given Hebrew year. 608 long day = cache.get(year); 610 if (day == CalendarCache.EMPTY) { 613 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 614 day [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | coptccal.cpp | 80 int32_t eyear, month, day, era, year; local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 95 internalSet(UCAL_DATE, day); 96 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 155 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 157 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
H A D | gregoimp.cpp | 91 return julian - JULIAN_1970_CE; // JD => epoch day 94 void Grego::dayToFields(double day, int32_t& year, int32_t& month, argument 98 day += JULIAN_1970_CE - JULIAN_1_CE; 100 // Convert from the day number to the multiple radix 102 // For example, the 4-year cycle has 4 years + 1 leap day; giving 104 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 117 // Gregorian day zero is a Monday. 118 dow = (int32_t) uprv_fmod(day + 1, 7); 135 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); local 137 dayToFields(day, yea 140 dayOfWeek(double day) argument [all...] |
H A D | hebrwcal.cpp | 35 * time of day in sync with that of the Gregorian calendar, we use 36 * midnight, rather than sunset the day before. 366 // counting from noon on the day before. BAHARAD is an abbreviation of 371 * Finds the day # of the first day in the given Hebrew year. 393 int32_t day = CalendarCache::get(&gCache, year, status); local 395 if (day == 0) { 398 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # 399 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation 400 frac = frac % DAY_PARTS; // Time of day 432 absoluteDayToDayOfWeek(int32_t day) argument 651 int32_t day = startOfYear(eyear, status); local [all...] |
H A D | ethpccal.cpp | 106 int32_t eyear, month, day, era, year; local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 126 internalSet(UCAL_DATE, day); 127 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | Grego.java | 90 * Convert a year, month, and day-of-month, given in the proleptic 94 * @param dom 1-based day of month 95 * @return the day number, with day 0 == Jan 1 1970 103 return julian - JULIAN_1970_CE; // JD => epoch day 107 * Return the day of week on the 1970-epoch day 108 * @param day the 1970-epoch day (integral value) 109 * @return the day o 111 dayOfWeek(long day) argument 119 dayToFields(long day, int[] fields) argument [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | ccaltst.h | 89 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 91 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Grego.java | 88 * Convert a year, month, and day-of-month, given in the proleptic 92 * @param dom 1-based day of month 93 * @return the day number, with day 0 == Jan 1 1970 101 return julian - JULIAN_1970_CE; // JD => epoch day 105 * Return the day of week on the 1970-epoch day 106 * @param day the 1970-epoch day (integral value) 107 * @return the day o 109 dayOfWeek(long day) argument 117 dayToFields(long day, int[] fields) argument [all...] |
/external/linux-kselftest/tools/testing/selftests/timers/ |
H A D | Makefile | 12 skew_consistency clocksource-switch leap-a-day \ 31 ./leap-a-day -s -i 10
|
/external/v8/src/ |
H A D | dateparser.cc | 22 int day = kNone; local 29 day = comp_[2]; 33 day = comp_[1]; 40 day = comp_[0]; 44 day = comp_[1]; 47 day = comp_[0]; 57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 61 output->set(DAY, Smi::FromInt(day));
|
H A D | dateparser-inl.h | 23 DayComposer day; local 38 // end of a day, 74 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 76 bool has_read_number = !day.IsEmpty(); 115 if (!day.Add(n)) return false; 126 day.SetNamedMonth(value); 176 bool success = day.Write(out) && time.Write(out) && tz.Write(out); 245 DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, 247 DCHECK(day->IsEmpty()); 260 day 244 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
H A D | DatePickerDialogTask.java | 36 public DatePickerDialogTask(int year, int month, int day) { argument 39 mDay = day; 47 public void onDateSet(DatePicker view, int year, int month, int day) { 53 result.put("day", day); 68 result.put("day", mDay); 83 result.put("day", mDay);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTime.java | 23 * <li> day - The day of the month in the range 1..31. 33 * fields (year, month, and day). 49 /** @return Returns the day of the month in the range 1..31. */ 52 /** @param day Sets the day 1..31 */ 53 void setDay(int day); argument
|
/external/pdfium/fpdfsdk/javascript/ |
H A D | JS_Value.cpp | 29 MakeDate(int year, int mon, int day, int hour, int min, int sec, int ms) { argument 30 return JS_MakeDate(JS_MakeDay(year, mon, day), 352 int day, 356 : m_pDate(pRuntime->NewDate(MakeDate(year, mon, day, hour, min, sec, 0))) {} 550 int day = _Day(t); local 551 return day - _DayFromYear(year); 555 int day = _DayWithinYear(t); local 557 if (0 <= day && day < 31) 559 if (31 <= day 349 CJS_Date(CJS_Runtime* pRuntime, int year, int mon, int day, int hour, int min, int sec) argument 586 int day = _DayWithinYear(t); local 726 JS_MakeDate(double day, double time) argument [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | time_test.cc | 43 int64 CreateTimestamp(int year, int month, int day) { argument 47 time.day = day; 55 GOOGLE_CHECK(time.day == day); 64 EXPECT_EQ(1, time.day); 75 EXPECT_EQ(31, time.day); 85 start.day = 1; 91 end.day = 31; 156 start.day [all...] |
H A D | time.h | 42 int day; member in struct:google::protobuf::internal::DateTime
|
/external/v8/src/builtins/ |
H A D | builtins-date.cc | 32 // ES6 section 20.3.1.14 MakeDate (day, time) 33 double MakeDate(double day, double time) { argument 34 if (std::isfinite(day) && std::isfinite(time)) { 35 return time + day * kMsPerDay; 126 double const day = MakeDay(tmp->get(0)->Number(), tmp->get(1)->Number(), local 130 double date = MakeDate(day, time); 152 int year, month, day, weekday, hour, min, sec, ms; local 153 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, 162 kShortMonths[month], day, year); 171 kShortWeekDays[weekday], kShortMonths[month], day, yea 270 double const day = MakeDay(year, month, date); local 353 double const day = MakeDay(year, month, date); local 370 int year, month, day; local 391 int year, month, day; local 422 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 457 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 478 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 512 int year, unused, day; local 537 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 572 int year, month, day; local 592 int year, month, day; local 622 int day = isolate->date_cache()->DaysFromTime(time_ms); local 656 int day = isolate->date_cache()->DaysFromTime(time_ms); local 676 int day = isolate->date_cache()->DaysFromTime(time_ms); local 709 int year, unused, day; local 733 int day = isolate->date_cache()->DaysFromTime(time_ms); local 770 int year, month, day, weekday, hour, min, sec, ms; local 776 month + 1, day, hour, min, sec, ms); local 779 month + 1, day, hour, min, sec, ms); local 782 month + 1, day, hour, min, sec, ms); local 819 int year, month, day, weekday, hour, min, sec, ms; local 823 kShortWeekDays[weekday], day, kShortMonths[month], year, hour, min, local 853 int year, month, day; local 874 int year, month, day; local [all...] |
/external/fmtlib/test/ |
H A D | util.h | 100 Date(int year, int month, int day) : year_(year), month_(month), day_(day) {} argument 104 int day() const { return day_; } function in class:Date
|
/external/icu/icu4c/source/test/intltest/ |
H A D | calcasts.h | 10 * conversion between julian-day to fields and vice versa. 34 int32_t day; member in struct:CalendarCaseTest::TestCase
|
/external/lzma/CPP/Windows/ |
H A D | TimeUtils.h | 17 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|