HomeSort by relevance Sort by last modified time
    Searched refs:year (Results 226 - 250 of 689) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu4c/i18n/
olsontz.cpp 226 // year boundary, SimpleTimeZone may return false result when DST is observed at the
227 // beginning of year. We could apply safe margin (day or two), but when one of recurrent
228 // rules falls around year boundary, it could return false result. Without setting the
229 // start year, finalZone works fine around the year boundary of the start year.
239 // small windows of time around the year boundary, this may
329 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month,
338 return getOffset(era, year, month, dom, dow, millis,
339 Grego::monthLength(year, month)
438 int32_t year, month, dom, dow; local
565 int32_t year, month, dom, dow, doy, mid; local
    [all...]
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);
  /external/v8/test/mjsunit/regress/
regress-399.js 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable
32 assertEquals(year, date.getFullYear());
  /frameworks/base/tools/layoutlib/bridge/src/android/text/format/
Time_Delegate.java 57 calendar.set(time.year, time.month, time.monthDay, time.hour, time.minute, time.second);
  /hardware/ti/omap4xxx/camera/inc/
NV12_resize.h 40 mmInt32 year; member in struct:__anon34730
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
time.h 141 int tm_year; /* Year - 1900. */
143 int tm_yday; /* Days in year.[0-365] */
301 /* Nonzero if YEAR is a leap year (every 4 years,
303 # define __isleap(year) \
304 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
317 /* Return the number of days in YEAR. */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
time.h 141 int tm_year; /* Year - 1900. */
143 int tm_yday; /* Days in year.[0-365] */
301 /* Nonzero if YEAR is a leap year (every 4 years,
303 # define __isleap(year) \
304 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
317 /* Return the number of days in YEAR. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
time.h 141 int tm_year; /* Year - 1900. */
143 int tm_yday; /* Days in year.[0-365] */
301 /* Nonzero if YEAR is a leap year (every 4 years,
303 # define __isleap(year) \
304 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
317 /* Return the number of days in YEAR. */
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
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, \
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
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, \
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DateTimeParser.java 100 private String year; field in class:DateTimeParser.Date
104 public Date(String year, int month, int day) {
105 this.year = year;
110 public String getYear() { return year; }
206 y = year();
276 final public String year() throws ParseException { method in class:DateTimeParser
  /external/icu4c/samples/cal/
cal.c 43 static void cal(int32_t month, int32_t year,
89 /* Number of months in a year (yes, 13) */
92 /* Separation between months in year view */
115 int32_t month = -1, year = -1; local
152 /* Get the month and year to display, if specified */
155 /* Month and year specified */
158 sscanf(argv[optInd + 1], "%d", (int*)&year);
171 /* Only year specified */
173 sscanf(argv[optInd], "%d", (int*)&year);
190 cal(month, year, useLongNames, &status)
    [all...]
  /external/chromium_org/base/time/
time_posix.cc 187 exploded->year = timestruct.tm_year + 1900;
205 timestruct.tm_year = exploded.year - 1900;
254 (exploded.year < 1969 || exploded.year > 1970)) {
255 // If exploded.year is 1969 or 1970, take -1 as correct, with the
278 if (exploded.year < 1969) {
  /packages/apps/Contacts/src/com/android/contacts/editor/
EventFieldEditorView.java 160 // if we changed to a type that requires a year, ensure that it is actually set
166 final int defaultYear = calendar.get(Calendar.YEAR);
168 // Check whether the year is optional
178 // This value is missing the year. Add it now
197 final int defaultYear = calendar.get(Calendar.YEAR);
199 // Check whether the year is optional
210 // Try parsing with year
214 oldYear = cal.get(Calendar.YEAR);
216 //cal.set(Calendar.YEAR, 0);
227 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth)
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
tzbdtest.cpp 225 * Check that the given year/month/dom/hour maps to and from the
233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
238 cal.set(year, month, dom, hour, 0, 0);
242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
245 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
250 if (cal.get(UCAL_YEAR, status) == year &&
265 ", expected " + year + "/" + (month+1) + "/" + dom +
449 TimeZoneBoundaryTest::findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t expectedChanges)
453 UDate d = date(year - 1900, UCAL_JANUARY, 1);
459 logln(UnicodeString("-- Zone ") + z->getID(str) + " starts in " + year + " with DST = " + (lastState?"true":"false"))
    [all...]
  /external/icu4c/test/intltest/
tzbdtest.cpp 225 * Check that the given year/month/dom/hour maps to and from the
233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
238 cal.set(year, month, dom, hour, 0, 0);
242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
245 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
250 if (cal.get(UCAL_YEAR, status) == year &&
265 ", expected " + year + "/" + (month+1) + "/" + dom +
449 TimeZoneBoundaryTest::findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t expectedChanges)
453 UDate d = date(year - 1900, UCAL_JANUARY, 1);
459 logln(UnicodeString("-- Zone ") + z->getID(str) + " starts in " + year + " with DST = " + (lastState?"true":"false"))
    [all...]
  /external/chromium_org/third_party/libxml/src/
xmlschemastypes.c 62 long year; member in struct:_xmlSchemaValDate
5839 unsigned long year; local
    [all...]
  /external/libxml2/
xmlschemastypes.c 62 long year; member in struct:_xmlSchemaValDate
5846 unsigned long year; local
    [all...]
  /external/chromium_org/v8/test/mjsunit/
date-parse.js 87 // Allow year/month/day format.
89 // Allow month/day/year format.
91 // Allow month/day year format.
93 // Allow comma instead of space after day, month and year.
222 ['Sat, 01 Jan 0 08:00:00 UT', 946713600000], // year 2000
223 ['Sat, 01 Jan 49 08:00:00 UT', 2493100800000], // year 2049
224 ['Sat, 01 Jan 50 08:00:00 UT', -631123200000], // year 1950
225 ['Sat, 01 Jan 99 08:00:00 UT', 915177600000], // year 1999
226 ['Sat, 01 Jan 100 08:00:00 UT', -59011430400000], // year 100
  /external/v8/test/mjsunit/
date-parse.js 87 // Allow year/month/day format.
89 // Allow month/day/year format.
91 // Allow month/day year format.
93 // Allow comma instead of space after day, month and year.
222 ['Sat, 01 Jan 0 08:00:00 UT', 946713600000], // year 2000
223 ['Sat, 01 Jan 49 08:00:00 UT', 2493100800000], // year 2049
224 ['Sat, 01 Jan 50 08:00:00 UT', -631123200000], // year 1950
225 ['Sat, 01 Jan 99 08:00:00 UT', 915177600000], // year 1999
226 ['Sat, 01 Jan 100 08:00:00 UT', -59011430400000], // year 100
  /bionic/libc/tzcode/
strftime.c 442 case 'G': /* ISO 8601 year (four digits) */
443 case 'g': /* ISO 8601 year (two digits) */
446 ** year (the first Monday as the first day of week 1) as a decimal number
451 ** "Week 01 of a year is per definition the first week which has the
452 ** Thursday in this year, which is equivalent to the week which contains
453 ** the fourth day of January. In other words, the first week of a new year
454 ** is the week which has the majority of its days in the new year. Week 01
455 ** might also contain days from the previous year and the week before week
456 ** 01 of a year is the last week (52 or 53) of the previous year even i
463 int year; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
LocaleMacTest.cpp 53 DateComponents dateComponents(int year, int month, int day)
56 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day));
67 double msForDate(int year, int month, int day)
69 return dateToDaysFrom1970(year, month, day) * msPerDay;
90 String formatDate(const String& localeString, int year, int month, int day)
93 return locale->formatDateTime(dateComponents(year, month, day));
  /external/chromium_org/v8/test/intl/overrides/
date.js 38 [], {year: 'numeric', month: 'numeric', day: 'numeric',
51 locale, {year: 'numeric', month: 'numeric', day: 'numeric',
60 var options = {year: 'numeric', month: 'long', day: 'numeric',
  /libcore/luni/src/main/java/java/util/
Calendar.java 32 * {@code YEAR}, {@code MONTH}, {@code DAY},
57 * fields, as well as their meaning. For example, the first month of the year
60 * and {@code YEAR}. See individual field documentation and subclass
84 * the first week of the month or year as a reference point. The first week of a
85 * month or year is defined as the earliest seven day period beginning on
87 * {@code getMinimalDaysInFirstWeek()} days of that month or year. Weeks
91 * designate the week before week 1 of a year as week <em>n</em> of the
92 * previous year.
97 * {@code Date} (such as only year and month but no day in the month), or
105 * of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
DateWidgets1.java 71 mYear = c.get(Calendar.YEAR);
131 public void onDateSet(DatePicker view, int year, int monthOfYear,
133 mYear = year;

Completed in 1759 milliseconds

1 2 3 4 5 6 7 8 91011>>