/external/icu/icu4c/source/i18n/ |
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/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
TimeZoneICU.java | 67 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { 68 return fIcuTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
AbstractTestLog.java | 115 public boolean isDateAtLeast(int year, int month, int day){ 117 Calendar c = new GregorianCalendar(year, month, day);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 57 * @param day days 64 public static XMPDateTime create(int year, int month, int day, 70 dt.setDay(day);
|
/ndk/sources/host-tools/make-3.81/config/ |
mdate-sh | 131 # $3 = day 138 # $1 = day 160 ???*) day=$1;; 161 *) day=$3; shift;; 165 # the time of day or the year. 192 echo $day $month $year
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
calendar.py | 4 default, these calendars have Monday as the first day of the week, and 6 set the first day of the week (0=Monday, 6=Sunday).""" 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 112 day (1-31).""" 113 return datetime.date(year, month, day).weekday() 167 # Adding one day could fail after datetime.MAXYEAR 174 Like itermonthdates(), but will yield (day number, weekday number) 175 tuples. For days outside the specified month the day number is 0. 181 yield (date.day, date.weekday() [all...] |
_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/gdb/linux-x86/lib/python2.7/ |
calendar.py | 4 default, these calendars have Monday as the first day of the week, and 6 set the first day of the week (0=Monday, 6=Sunday).""" 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 112 day (1-31).""" 113 return datetime.date(year, month, day).weekday() 167 # Adding one day could fail after datetime.MAXYEAR 174 Like itermonthdates(), but will yield (day number, weekday number) 175 tuples. For days outside the specified month the day number is 0. 181 yield (date.day, date.weekday() [all...] |
_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/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 4 default, these calendars have Monday as the first day of the week, and 6 set the first day of the week (0=Monday, 6=Sunday).""" 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 112 day (1-31).""" 113 return datetime.date(year, month, day).weekday() 167 # Adding one day could fail after datetime.MAXYEAR 174 Like itermonthdates(), but will yield (day number, weekday number) 175 tuples. For days outside the specified month the day number is 0. 181 yield (date.day, date.weekday() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 4 default, these calendars have Monday as the first day of the week, and 6 set the first day of the week (0=Monday, 6=Sunday).""" 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 112 day (1-31).""" 113 return datetime.date(year, month, day).weekday() 167 # Adding one day could fail after datetime.MAXYEAR 174 Like itermonthdates(), but will yield (day number, weekday number) 175 tuples. For days outside the specified month the day number is 0. 181 yield (date.day, date.weekday() [all...] |
/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 || 77 tm.tm_mday = day; 113 tm->day = tm2->tm_mday;
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 39 String day; field in class:WeatherDataPoint 43 day = d; 56 public static final String DAY = "day"; 95 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 129 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
/external/v8/test/intl/date-format/ |
resolved-options.js | 30 // Default (year, month, day) formatter. 48 assertTrue(resolved.hasOwnProperty('day')); 49 assertEquals('numeric', resolved.day); 79 assertFalse(resolved.hasOwnProperty('day')); 87 day: 'numeric', hour: 'numeric', minute: 'numeric', 102 assertTrue(resolved.hasOwnProperty('day'));
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthListView.java | 160 // Get the day at the top right corner 161 int day = getUpperRightJulianDay(); local 162 // Get the day of the first day of the next/previous month 164 mTempTime.setJulianDay(day); 168 // Since each view is 7 days, round the target day up to make sure the 181 int viewsToFling = (scrollToDay - day) / 7 - ((monthsToJump <= 0) ? 1 : 0); 189 // Returns the julian day of the day in the upper right corner
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { 41 date.set(0, 0, 0, day, month, year); 44 allDayDate.set(day, month, year); 226 Log.i("WeekNumberTest", "(all-day) index " + index
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
sqltypes.h | 118 SQLUSMALLINT day; member in struct:tagDATE_STRUCT 138 SQLUSMALLINT day; member in struct:tagTIMESTAMP_STRUCT 164 SQLUINTEGER day; member in struct:tagSQL_DAY_SECOND
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputBuffer.java | 306 int year, month, day, hour, minute, second, millis; local 330 day = 10 * Character.digit((char)buf[pos++], 10); 331 day += Character.digit((char)buf[pos++], 10); 387 if (month == 0 || day == 0 388 || month > 12 || day > 31 398 date.setDate(year, month, day);
|
/external/dng_sdk/source/ |
dng_date_time.h | 55 /// \param day Day of month to use from 1 -31, where 1 is the first. 56 /// \param hour Hour of day to use from 0 - 23, where 0 is midnight. 62 uint32 day, 284 uint32 day);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CECalendar.java | 215 // intercalary month 5 days + possible leap day 227 * Convert an Coptic/Ethiopic year, month and day to a Julian day 230 * @param day the day 231 * @return Julian day 234 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { 252 + floorDivide(year, 4) // extra day of leap year 254 + day - 1 // number of days for present month (1 based) 259 * Convert a Julian day to an Coptic/Ethiopic year, month and da [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CECalendar.java | 213 // intercalary month 5 days + possible leap day 225 * Convert an Coptic/Ethiopic year, month and day to a Julian day 228 * @param day the day 229 * @return Julian day 231 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { 249 + floorDivide(year, 4) // extra day of leap year 251 + day - 1 // number of days for present month (1 based) 256 * Convert a Julian day to an Coptic/Ethiopic year, month and da [all...] |
/external/v8/test/mjsunit/regress/ |
regress-builtinbust-7.js | 17 day: "numeric"
|
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsCbEtwsInfo.java | 152 int day = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[2]); local 174 time.monthDay = day;
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
wt5001.h | 255 * @param day Day 258 bool setDate(uint16_t year, uint8_t month, uint8_t day); 325 * @param day Day 328 bool getDate(uint16_t *year, uint8_t *month, uint8_t *day);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 46 * day header or an event. 53 * mType is either a day header (TYPE_DAY) or an event (TYPE_MEETING) 58 * If mType is TYPE_DAY, then mData is the index into day infos. 191 * {@link DayInfo} is a class that represents a day header in the widget. It 192 * contains all of the data necessary to display that day header, including 197 /** The Julian day */ 200 /** The string representation of this day header, to be displayed */ 289 // wrong endDay for all day events 296 // Adjust all-day times into local timezone 308 // deal with all-day event 330 int day = mTodayJulianDay; local [all...] |