/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_strptime.py | 275 """Calculate the Julian day based on the year, week of the year, and day of 280 # easier to just shift the view to Sunday being the first day of the 285 # Need to watch out for a week 0 (when the first day of the year is not 331 month = day = 1 347 # worthless without day of the week 366 day = int(found_dict['d']) 430 if year is None and month == 2 and day == 29: 435 # If we know the week of the year and what day of that week, we can figure 436 # out the Julian day of the year [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_strptime.py | 275 """Calculate the Julian day based on the year, week of the year, and day of 280 # easier to just shift the view to Sunday being the first day of the 285 # Need to watch out for a week 0 (when the first day of the year is not 331 month = day = 1 347 # worthless without day of the week 366 day = int(found_dict['d']) 430 if year is None and month == 2 and day == 29: 435 # If we know the week of the year and what day of that week, we can figure 436 # out the Julian day of the year [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 321 * Compute the day of the week for the first day of the month. "instance" has a 322 * day number and a DotW, so we compute the DotW of the 1st from that. Note DotW 325 * The basic calculation is to take the instance's "day of the week" number, subtract 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 342 * if its day of the week is included. If so, append it to the day set. 349 // For each month day, see if it's part of the set. (This makes some assumptions 430 boolean get(Time iterator, int day) 940 int day; local [all...] |
/external/autotest/client/common_lib/ |
time_utils_unittest.py | 40 TIME_OBJ = datetime.datetime(year=2014, month=8, day=20, hour=14,
|
/external/autotest/site_utils/suite_scheduler/ |
timed_event.py | 14 """Base class for events that trigger based on time/day. 92 TIMEOUT = 24 # Kicked off once a day, so they get the full day to run 102 now_hour = datetime.datetime(now.year, now.month, now.day, now.hour) 134 can set the day when it should be triggered, through `day` setting. 138 @var _DEFAULT_DAY: The default day to run a weekly task. 171 @param event_time: The hour of the day to set |self._deadline| at. 190 _deadline iff the time of day in to_merge._deadline is different. 210 Weekly task can be scheduled at any day of the week. This function onl [all...] |
task.py | 161 'hour', 'day']) 213 day = config.getint(section, 'day') 215 raise MalformedConfigEntry("Ill-specified 'day': %r" % e) 216 if day is not None and (day < 0 or day > 6): 218 '`day` must be an integer between 0 and 6, where 0 is for ' 220 if day is not None and keyword != 'weekly': 222 '`day` is the trigger of the day of a week, that can only [all...] |
manifest_versions_unittest.py | 164 since_date = datetime.datetime(year=2015, month=2, day=1) 182 since_date = datetime.datetime(year=2015, month=2, day=1) 194 since_date = datetime.datetime(year=2015, month=2, day=1) 204 since_date = datetime.datetime(year=2015, month=2, day=1) 217 since_date = datetime.datetime(year=2015, month=2, day=1)
|
/external/boringssl/src/crypto/asn1/ |
a_utctm.c | 283 int day, sec; local 291 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) 294 if (day > 0) 296 if (day < 0)
|
/external/icu/icu4c/source/i18n/ |
ethpccal.h | 255 * Convert an Ethiopic year, month, and day to a Julian day. 259 * @param day the day 260 * @return Julian day 263 int32_t ethiopicToJD(int32_t year, int32_t month, int32_t day);
|
vzone.cpp | 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/ |
maxds3231m.h | 59 uint8_t day; member in struct:upm::Time3231
|
/hardware/ti/omap4-aah/camera/inc/ |
NV12_resize.h | 53 mmInt32 day; member in struct:__anon35309
|
/hardware/ti/omap4xxx/camera/inc/ |
NV12_resize.h | 42 mmInt32 day; member in struct:__anon35431
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 37 int day, int hour, int minute, int second) throws Exception { 41 assertEquals(day, cal.get(Calendar.DAY_OF_MONTH)); 60 int day, int hour, int minute, int second, int millis) throws Exception { 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SetDateTimeActivity.java | 62 int day = Integer.parseInt(result.get(dIndex)); local 73 setDate(SetDateTimeActivity.this, year, monthInt, day); 153 public static void setDate(Context context, int year, int month, int day) { 158 c.set(Calendar.DAY_OF_MONTH, day);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winnls32.h | 18 WORD day; member in struct:_tagDATETIME
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
datetime.h | 16 * 3 day 1 byte, 1-31 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, \
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
datetime.h | 16 * 3 day 1 byte, 1-31 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, \
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
datetime.h | 16 * 3 day 1 byte, 1-31 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, \
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
datetime.h | 16 * 3 day 1 byte, 1-31 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, \
|
/toolchain/binutils/binutils-2.25/include/nlm/ |
external.h | 66 unsigned char day[NLM_TARGET_LONG_SIZE]; local
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 95 public static final char DAY = 'E'; 315 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'})) 319 * not just the day, month, and year, and not necessarily in the same 484 case 'H': // hour in day (0-23) 485 case 'k': // hour in day (1-24) [but see note below] 533 private static String getDayOfWeekString(LocaleData ld, int day, int count, int kind) { 536 return standalone ? ld.tinyStandAloneWeekdayNames[day] : ld.tinyWeekdayNames[day]; 538 return standalone ? ld.longStandAloneWeekdayNames[day] : ld.longWeekdayNames[day]; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 102 private int day; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 107 this.day = day; 112 public int getDay() { return day; } 204 d = day(); 211 final public int day() throws ParseException { method in class:DateTimeParser
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 102 private int day; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 107 this.day = day; 112 public int getDay() { return day; } 204 d = day(); 211 final public int day() throws ParseException { method in class:DateTimeParser
|
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 57 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 70 tm.tm_mday = day; 91 tm->day = tm2->tm_mday;
|