/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These
175 /* year -> 1 if leap year, else 0. */
177 is_leap(int year)
179 /* Cast year to unsigned. The result is the same either way, but
184 const unsigned int ayear = (unsigned int)year;
188 /* year, month -> number of days in that month in that year */
190 days_in_month(int year, int month)
194 if (month == 2 && is_leap(year))
1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These
175 /* year -> 1 if leap year, else 0. */
177 is_leap(int year)
179 /* Cast year to unsigned. The result is the same either way, but
184 const unsigned int ayear = (unsigned int)year;
188 /* year, month -> number of days in that month in that year */
190 days_in_month(int year, int month)
194 if (month == 2 && is_leap(year))
1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/external/python/cpython2/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These 175 /* year -> 1 if leap year, else 0. */ 177 is_leap(int year) 179 /* Cast year to unsigned. The result is the same either way, but 184 const unsigned int ayear = (unsigned int)year; 188 /* year, month -> number of days in that month in that year */ 190 days_in_month(int year, int month) 194 if (month == 2 && is_leap(year)) 1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
ZoneProc.c | 296 ** Day of year.
467 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the
468 ** year, a rule, and the offset from UTC at the time that rule takes effect,
475 const int year,
486 leapyear = isleap(year);
504 ** n - day of year.
524 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year;
623 register int year;
local 639 ** Two transitions per year, from EPOCH_YEAR to 2037. [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
OneTimeDateListener.java | 49 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) { 57 assertWithMessage("Wrong year on DatePicker %s", name)
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardActivity.kt | 53 val year = Calendar.getInstance().get(Calendar.YEAR) 56 .map { Integer.toString(year + it) }
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardActivity.kt | 53 val year = Calendar.getInstance().get(Calendar.YEAR) 56 .map { Integer.toString(year + it) }
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
datetime.h | 14 * 0 year 2 bytes, 1-9999
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 | 14 * 0 year 2 bytes, 1-9999
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/clang/docs/ |
conf.py | 45 copyright = u'2007-%d, The Clang Team' % date.today().year
|
/external/icu/icu4c/source/i18n/ |
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...] |
olsontz.cpp | 228 // year boundary, SimpleTimeZone may return false result when DST is observed at the 229 // beginning of year. We could apply safe margin (day or two), but when one of recurrent 230 // rules falls around year boundary, it could return false result. Without setting the 231 // start year, finalZone works fine around the year boundary of the start year. 241 // small windows of time around the year boundary, this may 331 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 340 return getOffset(era, year, month, dom, dow, millis, 341 Grego::monthLength(year, month) 440 int32_t year, month, dom, dow; local 572 int32_t year, month, dom, dow, doy, mid; local [all...] |
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/llvm/docs/ |
conf.py | 44 copyright = u'2003-%d, LLVM Project' % date.today().year
|
/external/pdfium/core/fxcrt/ |
fx_system_unittest.cpp | 185 for (int year = -2500; year <= 8500; ++year) { 186 year_time.tm_year = year;
|
/external/python/cpython2/Include/ |
datetime.h | 14 * 0 year 2 bytes, 1-9999 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/skia/infra/bots/recipes/ |
upload_nano_results.py | 38 'nano-json-v1', str(now.year).zfill(4),
|
/external/skqp/infra/bots/recipes/ |
upload_nano_results.py | 38 'nano-json-v1', str(now.year).zfill(4),
|
/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 || 75 tm.tm_year = year - 1900; 115 tm->year = tm2->tm_year + 1900;
|
/hardware/intel/img/psb_headers/DRM/cc54/inc/ |
drm_common_api.h | 46 // year: Epoch is 70 (i.e., 1970). Maximum value is 138 (i.e., 2038). 56 uint8_t year; member in struct:time_of_day
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
AbstractTCKTest.java | 80 protected static boolean isIsoLeap(long year) { 81 if (year % 4 != 0) { 84 if (year % 100 == 0 && year % 400 != 0) {
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestExampleCode.java | 93 int year = now1.get(ChronoField.YEAR); local 95 dow, day, month, year); 104 // Print today's date and the last day of the year for the Thai Buddhist Calendar. 111 System.out.printf(" %s: 1st of year: %s; end of year: %s%n", last.getChronology().getId(), 153 int year = now1.get(ChronoField.YEAR); local 155 dow, day, month, year); 157 // Print today's date and the last day of the year for the Thai Buddhist Calendar [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 36 private void testParseDateTimesHelper(String date, int year, int month, 39 assertEquals(year, cal.get(Calendar.YEAR)); 59 private void testParseEmailDateTimeHelper(String date, int year, int month, 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
time.h | 140 int tm_year; /* Year - 1900. */ 142 int tm_yday; /* Days in year.[0-365] */ 302 /* Nonzero if YEAR is a leap year (every 4 years, 304 # define __isleap(year) \ 305 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 318 /* Return the number of days in YEAR. */
|