HomeSort by relevance Sort by last modified time
    Searched refs:day (Results 101 - 125 of 583) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu/icu4c/source/i18n/
cecal.cpp 124 + ClockMath::floorDivide(year, 4) // extra day of leap year
131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day)
143 day = (doy % 30) + 1; // 1-based days in a month
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/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);
  /libcore/luni/src/main/java/java/sql/
Date.java 24 * format only deals with year, month and day values. There are no values for
42 * month and day.
52 * the day in the month. Must be in the range {@code [1,31]}.
60 * Creates a date which corresponds to the day determined by the supplied
67 * correspond to 00:00:00 GMT on the day determined by the supplied
157 * set based on the supplied time value and rounded to zero GMT for that day.
166 * elements finer than the day based on zero GMT
229 int day = Integer.parsePositiveInt(parts[2]); local
230 return new Date(year - 1900, month - 1, day);
237 * particular day
    [all...]
  /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
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
mdate-sh 134 # $3 = day
141 # $1 = day
163 ???*) day=$1;;
164 *) day=$3; shift;;
168 # the time of day or the year.
195 echo $day $month $year
  /external/chromium_org/third_party/libxslt/libexslt/
date.c 89 unsigned int day :5; /* 1 <= day <= 31 */ member in struct:_exsltDateValDate
102 long day; member in struct:_exsltDateValDuration
142 #define VALID_DAY(day) ((day >= 1) && (day <= 31))
160 (dt->day <= daysInMonthLeap[dt->mon - 1]) : \
161 (dt->day <= daysInMonth[dt->mon - 1]))
186 #define DAY_IN_YEAR(day, month, year) \
189 dayInYearByMonth[month - 1]) + day)
2477 int day; local
2517 int day; local
    [all...]
  /libcore/luni/src/main/java/java/util/
Date.java 37 * as the current month or day of week, or to construct a {@code Date} from a broken-down
69 * @param day
70 * the day of the month, 1 - 31.
75 public Date(int year, int month, int day) {
77 cal.set(1900 + year, month, day);
89 * @param day
90 * the day of the month, 1 - 31.
92 * the hour of day, 0 - 23.
99 public Date(int year, int month, int day, int hour, int minute) {
101 cal.set(1900 + year, month, day, hour, minute)
    [all...]
GregorianCalendar.java 58 * Prior to the institution of the Gregorian calendar, New Year's Day was March
65 * 53. Week 1 for a year is the earliest seven day period starting on
69 * {@code getFirstDayOfWeek()}, and the day of the week of January 1.
88 * contiguous days in that month, ending on the day before
242 * @param day
243 * the day of the month.
245 public GregorianCalendar(int year, int month, int day) {
247 set(year, month, day);
258 * @param day
259 * the day of the month
1153 int days, day, mod, maxWeeks, newWeek; local
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-tofte.js 71 // Day of the month, 2 digits with leading zeros
76 // A textual representation of a day, three letters
114 // Day of the month without leading zeros
118 // A full textual representation of the day of the week
167 // English ordinal suffix for the day of the month, 2 characters
179 if (L()==1 && n()==2) return 29; // leap day
190 // if the day is three days before newyears eve,
199 // similarly, if the day is within threedays of newyears
209 // i call the function here again, using the last day
219 // first day of the year fell on a thursday, or earlier
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-tofte.js 71 // Day of the month, 2 digits with leading zeros
76 // A textual representation of a day, three letters
114 // Day of the month without leading zeros
118 // A full textual representation of the day of the week
167 // English ordinal suffix for the day of the month, 2 characters
179 if (L()==1 && n()==2) return 29; // leap day
190 // if the day is three days before newyears eve,
199 // similarly, if the day is within threedays of newyears
209 // i call the function here again, using the last day
219 // first day of the year fell on a thursday, or earlier
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
date-format-tofte.js 71 // Day of the month, 2 digits with leading zeros
76 // A textual representation of a day, three letters
114 // Day of the month without leading zeros
118 // A full textual representation of the day of the week
167 // English ordinal suffix for the day of the month, 2 characters
179 if (L()==1 && n()==2) return 29; // leap day
190 // if the day is three days before newyears eve,
199 // similarly, if the day is within threedays of newyears
209 // i call the function here again, using the last day
219 // first day of the year fell on a thursday, or earlier
    [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/chromium_org/v8/src/
date.cc 56 int days, int* year, int* month, int* day) {
66 *day = new_day;
112 *day = days + 1;
121 *day = days + 1;
124 *day = days - 31 + 1;
127 DCHECK(DaysFromYearMonth(*year, *month) + *day - 1 == save_days);
131 ymd_day_ = *day;
  /external/wpa_supplicant_8/src/utils/
os_win32.c 61 int os_mktime(int year, int month, int day, int hour, int min, int sec,
68 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
76 tm.tm_mday = day;
112 tm->day = tm2->tm_mday;
  /libcore/luni/src/test/java/libcore/java/util/
CalendarTest.java 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) {
152 calendar.set(year, month, day, hour, minute);
155 assertEquals(day, calendar.get(Calendar.DAY_OF_MONTH));
199 int year, int month, int day, int hour, int minute) {
202 assertEquals(day, calendar.get(Calendar.DATE));
  /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/chromium_org/net/ftp/
ftp_util_unittest.cc 125 const char* day; member in struct:__anon13865::__anon13869
168 kTestCases[i].month, kTestCases[i].day,
173 UTF8ToUTF16(kTestCases[i].month), UTF8ToUTF16(kTestCases[i].day),
  /external/chromium_org/ui/base/l10n/
time_format.cc 124 TimeDelta day = TimeDelta::FromMicroseconds(Time::kMicrosecondsPerDay); local
125 Time tomorrow = midnight_today + day;
126 Time yesterday = midnight_today - day;
  /external/chromium_org/v8/test/intl/date-format/
resolved-options.js 30 // Default (year, month, day) formatter.
47 assertTrue(resolved.hasOwnProperty('day'));
48 assertEquals('numeric', resolved.day);
78 assertFalse(resolved.hasOwnProperty('day'));
86 day: 'numeric', hour: 'numeric', minute: 'numeric',
101 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
  /external/chromium_org/third_party/WebKit/Source/web/tests/
LocaleWinTest.cpp 75 DateComponents dateComponents(int year, int month, int day)
78 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day));
82 double msForDate(int year, int month, int day)
84 return dateToDaysFrom1970(year, month, day) * msPerDay;
87 String formatDate(LCID lcid, int year, int month, int day)
90 return locale->formatDateTime(dateComponents(year, month, day));

Completed in 493 milliseconds

1 2 3 45 6 7 8 91011>>