/external/lzma/CPP/Windows/ |
TimeUtils.h | 26 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|
TimeUtils.cpp | 179 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
183 if (year < kFileTimeStartYear || year >= 10000 || month < 1 || month > 12 ||
191 month--;
192 for (unsigned i = 0; i < month; i++)
|
/external/u-boot/drivers/rtc/ |
m48t35ax.c | 28 uchar sec, min, hour, cent_day, date, month, year; local 41 month = rtc_read (0x6); 49 debug ( "Get RTC year: %02x month: %02x date: %02x cent_day: %02x " 51 year, month, date, cent_day, 58 tmp->tm_mon = bcd2bin (month & 0x1F);
|
/external/dng_sdk/source/ |
dng_date_time.cpp | 64 uint32 month, 71 , fMonth (month) 215 uint32 month, 220 fDateTime.fMonth = month; 255 unsigned month = 0; local 261 &month, 268 (uint32) month, 487 unsigned month = 0; local 493 &month, 498 (uint32) month, [all...] |
/external/cldr/tools/java/com/ibm/icu/dev/test/ |
AbstractTestLog.java | 116 public boolean isDateAtLeast(int year, int month, int day){ 118 Calendar c = new GregorianCalendar(year, month, day);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneAdapter.java | 91 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 93 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
|
/external/icu/icu4c/source/i18n/ |
hebrwcal.h | 41 * the lunar month (approximately 29.53 days) an extra "leap month" is 48 * The leap month is known as "Adar 1" and is inserted between the 49 * months of Shevat and Adar in leap years. Since the leap month does 51 * month numbers are particularly complex. Users of this class should 93 * Constant for Tishri, the 1st month of the Hebrew year. 97 * Constant for Heshvan, the 2nd month of the Hebrew year. 101 * Constant for Kislev, the 3rd month of the Hebrew year. 106 * Constant for Tevet, the 4th month of the Hebrew year. 111 * Constant for Shevat, the 5th month of the Hebrew year. [all...] |
chnsecal.cpp | 178 { 0, 0, 11, 11}, // MONTH 235 * extended year and month. 238 * whether or not the given month is a leap month. 241 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 242 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - 254 * <li>MONTH 312 * given month in the given extended year. 315 * whether the given month is a leap month 698 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneAdapter.java | 88 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 90 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
TimeZoneICU.java | 69 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { 70 return fIcuTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
|
/external/python/cpython2/Lib/sqlite3/ |
dbapi2.py | 69 year, month, day = map(int, datepart.split("-")) 77 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/external/python/cpython3/Lib/sqlite3/ |
dbapi2.py | 68 year, month, day = map(int, datepart.split(b"-")) 76 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/external/tensorflow/tensorflow/python/compat/ |
compat_test.py | 30 return (date.year, date.month, date.day) 34 return (date.year, date.month, date.day)
|
/external/toolchain-utils/ |
new-generate-waterfall-reports.py | 38 # For int-to-string date conversion. Note, the index of the month in this 39 # list needs to correspond to the month's integer value. i.e. 'Sep' must 71 month = tmp_date % 100 75 date_str = '%d-%02d-%02d' % (year, month, day) 77 month_str = MONTHS[month] 278 month = tmp_date % 100 281 if day < 1 or month < 1 or year < min_year: 288 if month > 12: 291 if month == 2 and cur_year % 4 == 0 and cur_year % 100 != 0: 294 max_day = DAYS_PER_MONTH[month] [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 55 * @param month months from 1 to 12<br> 56 * <em>Note:</em> Remember that the month in {@link Calendar} is defined from 0 to 11. 64 public static XMPDateTime create(int year, int month, int day, 69 dt.setMonth(month);
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
GpsTime.java | 56 private static ZonedDateTime getZonedDateTimeUTC(int year, int month, int day) { 57 return getZonedDateTimeUTC(year, month, day, 0, 0, 0, 0); 60 private static ZonedDateTime getZonedDateTimeUTC(int year, int month, int day, 63 ZonedDateTime zdt = ZonedDateTime.of(year, month, day, hour, minute, sec, nanoSec, zone); 73 * @param month Month from 1 to 12 79 public GpsTime(int year, int month, int day, int hour, int minute, double second) { 80 ZonedDateTime utcDateTime = getZonedDateTimeUTC(year, month, day, hour, minute,
|
/external/libchrome/base/time/ |
time_exploded_posix.cc | 158 exploded->month = timestruct.tm_mon + 1; 169 CheckedNumeric<int> month = exploded.month; local 170 month--; 173 if (!month.IsValid() || !year.IsValid()) { 183 timestruct.tm_mon = month.ValueOrDie(); 282 // If |exploded.day_of_month| is set to 31 on a 28-30 day month, it will 283 // return the first day of the next month. Thus round-trip the time and
|
/external/python/cpython3/Include/ |
datetime.h | 15 * 2 month 1 byte, 1-12 24 /* # of bytes for year, month, and day. */ 30 /* # of bytes for year, month, day, hour, minute, second, and usecond. */ 229 #define PyDate_FromDate(year, month, day) \ 230 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) 232 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ 233 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \ 236 #define PyDateTime_FromDateAndTimeAndFold(year, month, day, hour, min, sec, usec, fold) \ 237 PyDateTimeAPI->DateTime_FromDateAndTimeAndFold(year, month, day, hour, \
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowTimeTest.java | 56 assertEquals(t.month, t2.month); 71 assertEquals(t.month, t2.month); 83 assertEquals(t.month, 1); 92 assertEquals(t.month, 1); 112 assertEquals(0, t.month); 176 assertEquals(9, t.month); 184 assertEquals(9, t.month); 200 assertEquals(desc, 9, t.month); [all...] |
/external/python/cpython2/Lib/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which 39 a_month -- abbreviated month names (13-item list, dummy value in 338 month = day = 1 367 month = int(found_dict['m']) 369 month = locale_time.f_month.index(found_dict['B'].lower()) 371 month = locale_time.a_month.index(found_dict['b'].lower()) 437 if year is None and month == 2 and day == 29: 457 julian = datetime_date(year, month, day).toordinal() - \ 463 month = datetime_result.month [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowTime.java | 63 time.month = other.month; 116 c.get(Calendar.MONTH), 128 protected void set(int second, int minute, int hour, int monthDay, int month, int year) { 133 time.month = month; 142 protected void set(int monthDay, int month, int year) { 143 set(0, 0, 0, monthDay, month, year); 157 time.month = 0; 271 time.month = calendar.get(Calendar.MONTH) [all...] |
/external/python/cpython3/Lib/ |
datetime.py | 46 def _days_in_month(year, month): 47 "year, month -> number of days in that month in that year." 48 assert 1 <= month <= 12, month 49 if month == 2 and _is_leap(year): 51 return _DAYS_IN_MONTH[month] 53 def _days_before_month(year, month): 54 "year, month -> number of days in year preceding first day of month. 936 def month(self): member in class:date [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
_strptime.py | 37 f_month -- full month names (13-item list; dummy value in [0], which
39 a_month -- abbreviated month names (13-item list, dummy value in
330 month = day = 1
359 month = int(found_dict['m'])
361 month = locale_time.f_month.index(found_dict['B'].lower())
363 month = locale_time.a_month.index(found_dict['b'].lower())
439 julian = datetime_date(year, month, day).toordinal() - \
445 month = datetime_result.month
448 weekday = datetime_date(year, month, day).weekday() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CopticTest.java | 108 // Julian Day Era Year Month Day WkDay Hour Min Sec 155 for (int m = 0; m < 12; ++m) { // don't understand rules for 13th month 156 for (int d = 1; d < 25; d += 3) { // play it safe on days per month 160 int month = cal.get(Calendar.MONTH); local 163 m == month && 170 " m: " + month + 203 cal.get(MONTH) + "/" + 209 cal.get(MONTH) + "/" + 227 * maximum month length [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CopticTest.java | 105 // Julian Day Era Year Month Day WkDay Hour Min Sec 152 for (int m = 0; m < 12; ++m) { // don't understand rules for 13th month 153 for (int d = 1; d < 25; d += 3) { // play it safe on days per month 157 int month = cal.get(Calendar.MONTH); local 160 m == month && 167 " m: " + month + 200 cal.get(MONTH) + "/" + 206 cal.get(MONTH) + "/" + 224 * maximum month length [all...] |