/external/icu/icu4c/source/i18n/ |
gregoimp.h | 100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 105 * The minimum supported Julian day. This value is equivalent to 117 * The maximum supported Julian day. This value is equivalent to 161 * Convert a year, month, and day-of-month, given in the proleptic 165 * @param dom 1-based day of month 166 * @return the day number, with day 0 == Jan 1 1970 171 * Convert a 1970-epoch day number to proleptic Gregorian year, 172 * month, day-of-month, and day-of-week [all...] |
japancal.cpp | 38 int8_t day; member in struct:__anon13369 40 // Year Month Day 344 int32_t day = 1; local 348 return kEraInfo[era].day; 352 return day; 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 516 int32_t nextEraDate = kEraInfo[era + 1].day;
|
cecal.h | 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 108 * @param day the day 110 * @return Julian day 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 119 * @param julianDay the Julian day 123 * @param date receives the day 127 int32_t& year, int32_t& month, int32_t& day); [all...] |
coptccal.h | 226 * Convert an Coptic year, month, and day to a Julian day. 230 * @param day the day 231 * @return Julian day 234 static int32_t copticToJD(int32_t year, int32_t month, int32_t day);
|
cecal.cpp | 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) 143 day = (doy % 30) + 1; // 1-based days in a month
|
gregoimp.cpp | 93 return julian - JULIAN_1970_CE; // JD => epoch day 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 100 day += JULIAN_1970_CE - JULIAN_1_CE; 102 // Convert from the day number to the multiple radix 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 119 // Gregorian day zero is a Monday. 120 dow = (int32_t) uprv_fmod(day + 1, 7); 137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); local 139 dayToFields(day, year, month, dom, dow, doy) [all...] |
/external/pdfium/xfa/src/fgas/src/localization/ |
fx_datetime.cpp | 198 uint8_t day,
213 FX_DateToDays(year, month, day, FALSE) * g_FXMillisecondsPerDay;
352 uint8_t day,
359 ASSERT(day >= 1 && day <= FX_DaysInMonth(year, month));
366 m_DateTime.Date.sDate.day = day;
376 m_DateTime.Date.sDate.month, m_DateTime.Date.sDate.day);
377 m_DateTime.Date.sDate.day = ut.GetHour();
385 (int64_t)m_DateTime.Date.sDate.day * g_FXMillisecondsPerHour + [all...] |
/external/v8/src/ |
date.h | 161 // and same starting day for the year. The ECMAscript specification says 167 int year, month, day; local 168 YearMonthDayFromDays(days, &year, &month, &day); 169 int new_days = DaysFromYearMonth(EquivalentYear(year), month) + day - 1; 175 // - week day of first day. 186 // the corresponding year, month, and day. 187 void YearMonthDayFromDays(int days, int* year, int* month, int* day); 190 // the first day of the given month in the given year. 194 void BreakDownTime(int64_t time_ms, int* year, int* month, int* day, [all...] |
date.cc | 54 int days, int* year, int* month, int* day) { 64 *day = new_day; 110 *day = days + 1; 119 *day = days + 1; 122 *day = days - 31 + 1; 125 DCHECK(DaysFromYearMonth(*year, *month) + *day - 1 == save_days); 129 ymd_day_ = *day; 178 void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day, 183 YearMonthDayFromDays(days, year, month, day);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
EventRecurrence.java | 168 public static int calendarDay2Day(int day) 170 switch (day) 187 throw new RuntimeException("bad day of week: " + day); 191 public static int timeDay2Day(int day) 193 switch (day) 210 throw new RuntimeException("bad day of week: " + day); 213 public static int day2TimeDay(int day) 215 switch (day) 407 int day = byday[i]; local [all...] |
/external/lzma/CPP/Windows/ |
TimeUtils.cpp | 58 unsigned year, mon, day, hour, min, sec;
104 day = (unsigned)v + 1;
113 dosTime = (year << 25) | (mon << 21) | (day << 16) | (hour << 11) | (min << 5) | (sec >> 1);
169 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
174 day < 1 || day > 31 || hour > 23 || min > 59 || sec > 59)
184 numDays += day - 1;
|
/external/webrtc/webrtc/base/ |
timeutils.cc | 213 int day = tm.tm_mday - 1; // Make 0-based like the rest. local 225 if (day < 0 || day >= mdays[month] + (expiry_in_leap_year && month == 2 - 1)) 234 day += cumul_mdays[month]; 237 day += ((year / 4 - 1970 / 4) - (year / 100 - 1970 / 100) + 240 // We will have added one day too much above if expiration is during a leap 243 day -= 1; 246 // which was accumulated into |day| above). 248 (year - 1970) * 365 + day) * 24 + hour) * 60 + min) * 60 + sec;
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 89 // There is no "BYDAY" specifier, so use the day of the 97 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); local 98 string = dayToString(day, DateUtils.LENGTH_LONG); 148 * Converts day of week to a String. 149 * @param day a EventRecurrence constant 150 * @return day of week as a string 152 private static String dayToString(int day, int dayOfWeekLength) { 153 return DateUtils.getDayOfWeekString(dayToUtilDay(day), dayOfWeekLength); 157 * Converts EventRecurrence's day of week to DateUtil's day of week [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 51 private static final String DAY = "day"; 73 * @param dayOfMonth The day of the month that was set. 83 * @param dayOfMonth The initial day of the dialog. 99 * @param dayOfMonth The initial day of the dialog. 120 * @param dayOfMonth The initial day of the dialog. 138 * @param dayOfMonth The initial day of the dialog. 182 public void onDateChanged(DatePicker view, int year, int month, int day) { 183 updateTitle(year, month, day); 193 private void updateTitle(int year, int month, int day) { 218 int day = savedInstanceState.getInt(DAY); local [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 413 int hours = (int) (val % 24L); // 24 hours per day 430 BigInteger hours = BigInteger.valueOf(val % 24L); // 24 hours per day 438 * <code>day</code>, <code>hour</code>, <code>minute</code> and <code>second</code> as defined i [all...] |
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherDataProvider.java | 34 String day; field in class:WeatherDataPoint 38 day = d; 51 public static final String DAY = "day"; 90 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 93 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 124 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
wt5001.js | 109 var day = new MP3Player.uint8Array(0); 110 myMP3Player.getDate(year, month, day); 112 mp3date += (day.getitem(0) + "/");
|
/external/bison/build-aux/ |
mdate-sh | 49 Pretty-print the modification day of FILE, in the format: 153 # $3 = day 160 # $1 = day 182 ???*) day=$1;; 183 *) day=$3; shift;; 187 # the time of day or the year. 214 echo $day $month $year
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
TestCase.java | 78 * Initialize a TestCase object using a julian day number and 81 * @param era The ERA field of tested calendar on the given julian day 82 * @param year The YEAR field of tested calendar on the given julian day 83 * @param month The MONTH (1-based) field of tested calendar on the given julian day 84 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day 85 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day 86 * @param hour The HOUR field of tested calendar on the given julian day 87 * @param min The MINUTE field of tested calendar on the given julian day 88 * @param sec The SECOND field of tested calendar on the given julian day [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
TestCase.java | 77 * Initialize a TestCase object using a julian day number and 80 * @param era The ERA field of tested calendar on the given julian day 81 * @param year The YEAR field of tested calendar on the given julian day 82 * @param month The MONTH (1-based) field of tested calendar on the given julian day 83 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day 84 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day 85 * @param hour The HOUR field of tested calendar on the given julian day 86 * @param min The MINUTE field of tested calendar on the given julian day 87 * @param sec The SECOND field of tested calendar on the given julian day [all...] |
/external/libmicrohttpd/doc/ |
mdate-sh | 49 Pretty-print the modification day of FILE, in the format: 153 # $3 = day 160 # $1 = day 182 ???*) day=$1;; 183 *) day=$3; shift;; 187 # the time of day or the year. 214 echo $day $month $year
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 85 int day = Integer.parseInt(s1); local 86 if (day <= 0 || day > 31) 87 throw createParseException("Bad day "); 88 retval.set(Calendar.DAY_OF_MONTH, day);
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
maxds3231m.cxx | 53 t.day = 3;
|
/external/dng_sdk/source/ |
dng_date_time.cpp | 65 uint32 day, 72 , fDay (day) 216 uint32 day) 221 fDateTime.fDay = day; 256 unsigned day = 0; local 262 &day) != 3) 269 (uint32) day); 488 unsigned day = 0; local 494 &day) == 3) 499 (uint32) day); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
AbstractTestLog.java | 116 public boolean isDateAtLeast(int year, int month, int day){ 118 Calendar c = new GregorianCalendar(year, month, day);
|