/external/u-boot/drivers/rtc/ |
m41t60.c | 90 uchar min, date, month, years; local 115 month = data[RTC_MONTH] & 0x3F; 121 0x12 < month || 123 daysInMonth[month] < date || 0x09 < (date & 0x0F) || 0x00 == date || 124 (0x29 == date && 0x02 == month &&
|
davinci.c | 32 mon_cent = readl(&rtc->month); 65 writel(bin2bcd(tmp->tm_mon), &rtc->month);
|
/external/wpa_supplicant_8/src/utils/ |
os_win32.c | 62 int os_mktime(int year, int month, int day, int hour, int min, int sec, 69 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 76 tm.tm_mon = month - 1; 114 tm->month = tm2->tm_mon + 1;
|
/external/python/dateutil/dateutil/parser/ |
_parser.py | 17 results in a day number exceeding the valid number of days per month, the 18 value falls back to the end of the month. 254 (e.g. 01/05/09) as the day (``True``) or month (``False``). If 335 def month(self, name): member in class:parserinfo 416 month = self[self.mstridx] 417 return 1 <= value <= monthrange(2000, month)[1] 419 month = self[self.mstridx] 421 return 1 <= value <= monthrange(year, month)[1] 440 raise ValueError('Month is already set') 453 year, month, day = (None, None, None [all...] |
/external/python/dateutil/dateutil/ |
rrule.py | 326 start date occurs at the end of the month: 380 result in the last work day of every month. 386 meaning the month days to apply the recurrence to. 403 first friday of the month where the recurrence happens. Notice that in 498 bymonth = dtstart.month 767 year, month, day, hour, minute, second, weekday, yearday, _ = \ 788 ii.rebuild(year, month) 818 dayset, start, end = getdayset(year, month, day) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
AnnualTimeZoneRule.java | 125 int month = dateTimeRule.getRuleMonth(); local 130 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 134 ruleDay = Grego.fieldsToDay(year, month, dom);
|
/external/icu/icu4c/source/i18n/ |
basictz.cpp | 163 int32_t year, month, dom, dow, doy, mid; local 168 year, month, dom, dow, doy, mid); 169 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 171 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 195 year, month, dom, dow, doy, mid); 196 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 198 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 226 year, month, dom, dow, doy, mid); 227 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 228 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 481 int32_t year, month, dom, dow, doy, mid; local [all...] |
buddhcal.cpp | 81 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, 85 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
|
chnsecal.h | 33 * calendar is a lunisolar calendar: Each month starts on a new moon, and 35 * guarantee that month 11 always contains the winter solstice. In order 37 * months are numbered the same as the month they follow. The decision of 38 * which month is a leap month depends on the relative movements of the sun 166 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const; 167 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
|
ethpccal.h | 44 * Constant for መስከረም, the 1st month of the Ethiopic year. 49 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 54 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 59 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 64 * Constant for ጥር, the 5th month of the Ethiopic year. 69 * Constant for የካቲት, the 6th month of the Ethiopic year. 74 * Constant for መጋቢት, the 7th month of the Ethiopic year. 79 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 84 * Constant for ግንቦት, the 9th month of the Ethiopic year. 89 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
japancal.cpp | 147 int32_t month = 0; local 156 return eraStart[1] // month 157 -1; // return 0-based month 160 return month; 163 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) 173 if(month == eraStart[1] - 1) {
|
vzone.cpp | 119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 121 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 128 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 47 static void cal(int32_t month, int32_t year, 119 int32_t month = -1, year = -1; local 156 /* Get the month and year to display, if specified */ 159 /* Month and year specified */ 161 sscanf(argv[optInd], "%d", (int*)&month); 164 /* Make sure the month value is legal */ 165 if(month < 0 || month > 12) { 166 printf("icucal: Bad value for month -- %d\n", (int)month); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
AnnualTimeZoneRule.java | 135 int month = dateTimeRule.getRuleMonth(); local 140 if (month == Calendar.FEBRUARY && dom == 29 && !Grego.isLeapYear(year)) { 144 ruleDay = Grego.fieldsToDay(year, month, dom);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
GeomagneticFieldTest.java | 90 TestDataPoint(float lat, float lng, float alt, int year, int month, int day, 95 epochTimeMillis = new GregorianCalendar(year, month, day).getTimeInMillis();
|
/external/dng_sdk/source/ |
dng_date_time.h | 54 /// \param month Month to use from 1 - 12, where 1 is January. 55 /// \param day Day of month to use from 1 -31, where 1 is the first. 61 uint32 month, 283 uint32 month,
|
/external/ltp/pan/cgi/ |
results.cgi | 142 ($year, $month, $day, $hour, $min) = ($thisdate =~ /(\d+)(\d{2})(\d{2})(\d{2})(\d{2})/); 143 print "<tr><td><td>$year-$month-$day $hour:$min\n";
|
/external/python/cpython3/Modules/ |
_datetimemodule.c | 109 /* M is a char or int claiming to be a valid month. The macro is equivalent 189 /* For each month ordinal in 1..12, the number of days in that month, 190 * and the number of days before that month in the same year. These 216 /* year, month -> number of days in that month in that year */ 218 days_in_month(int year, int month) 220 assert(month >= 1); 221 assert(month <= 12); 222 if (month == 2 && is_leap(year) 2799 int month; local 2915 int month; local 2948 int year = 0, month = 0, day = 0; local 2981 int month = GET_MONTH(date); local 3180 int month = GET_MONTH(self); local 4624 int month; local 4739 int year, month, day, hour, minute, second, fold = 0; local 5036 int year = 0, month = 0, day = 0; local 5139 int month = GET_MONTH(date); local [all...] |
/device/google/contexthub/firmware/os/platform/stm32/ |
rtc.c | 259 uint8_t month; local 269 month = (((dr >> 12) & 0x1) * 10) + ((dr >> 8) & 0xf) - 1; 270 time_s = (((((dr >> 4) & 0x3) * 10) + (dr & 0xF) - 1) + (month << 5) - adjust[month]) * 86400ULL;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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. */
210 #define PyDate_FromDate(year, month, day) \
211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType)
213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \
214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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. */
210 #define PyDate_FromDate(year, month, day) \
211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType)
213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \
214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
/external/autotest/client/common_lib/ |
time_utils_unittest.py | 40 TIME_OBJ = datetime.datetime(year=2014, month=8, day=20, hour=14,
|
/external/icu/icu4c/source/test/intltest/ |
tzbdtest.h | 84 void verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
|
/external/libchrome/base/metrics/ |
persistent_histogram_storage.cc | 90 exploded.month, exploded.day_of_month,
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.system/ |
local_time.types.pass.cpp | 43 constexpr std::chrono::month January = std::chrono::January;
|