/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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 35 time.year = 1970; 52 time.year = other.year; 112 c.get(Calendar.YEAR) 123 public void set(int second, int minute, int hour, int monthDay, int month, int year) { 129 time.year = year; 137 public void set(int monthDay, int month, int year) { 138 set(0, 0, 0, monthDay, month, year); 153 time.year = 0 [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.28-1.js | 142 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 147 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 156 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 174 this.year = 0; 191 d.year = YearFromTime(t); 200 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.31-1.js | 139 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 144 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 153 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 170 this.year = 0; 187 d.year = YearFromTime(t); 196 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.32-1.js | 93 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 102 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 119 this.year = 0; 136 d.year = YearFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.33-1.js | 93 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 102 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 119 this.year = 0; 136 d.year = YearFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 124 mDummyDate.set(mDummyDate.get(Calendar.YEAR), mDummyDate.DECEMBER, 31, 13, 0, 0); 181 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); 191 public void onDateSet(DatePicker view, int year, int month, int day) { 194 setDate(activity, year, month, day); 244 calendar.get(Calendar.YEAR), 284 calendar.get(Calendar.YEAR), 354 /* package */ static void setDate(Context context, int year, int month, int day) { 357 c.set(Calendar.YEAR, year);
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.cc | 74 mock_current_time_exploded.year = 1994; 114 int year, month, day_of_month, hour, minute; local 115 base::StringToInt(lines[8 * i + 3], &year); 138 EXPECT_EQ(year, time_exploded.year);
|
/external/icu4c/test/cintltst/ |
ccaltst.c | 868 int32_t year; member in struct:__anon8758 1629 int32_t year; member in struct:__anon8759 2249 int32_t year; \/* starting point for test is gregorian calendar noon on day specified by y,M,d here *\/ member in struct:__anon8766 [all...] |
/external/icu4c/tools/toolutil/ |
writesrc.c | 51 char year[8]; local 57 strftime(year, sizeof(year), "%Y", lt); 60 fprintf(f, header, year, filename, buffer); 62 fprintf(f, header, year, filename, generator);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 33 * fields (year, month, and day). 37 /** @return Returns the year, can be negative. */ 40 /** @param year Sets the year */ 41 void setYear(int year);
|
/frameworks/base/core/java/android/util/ |
DayOfMonthCursor.java | 23 * <li>Keeps track of current month, day, year</li> 41 * @param year The initial year. 48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { 49 super(year, month, weekStartDay);
|
/packages/apps/Calendar/src/com/android/calendar/ |
DayOfMonthCursor.java | 25 * <li>Keeps track of current month, day, year</li> 43 * @param year The initial year. 50 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { 51 super(year, month, weekStartDay);
|
/external/icu4c/i18n/ |
calendar.cpp | 587 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // YEAR 633 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 655 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 82 mYear = c.get(Calendar.YEAR); 131 public void onDateSet(DatePicker view, int year, int monthOfYear, 133 mYear = year;
|
/external/chromium/net/base/ |
x509_cert_types.cc | 108 exploded.year = ParseIntAndAdvance(&field, year_length, &valid); 115 exploded.year += exploded.year < 50 ? 2000 : 1900;
|
/external/elfutils/libelf-po/ |
libelf.pot | 2 # Copyright (C) YEAR Red Hat, Inc. 4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaItemMetadata.java | 100 * Integer key: Year of publication. 102 * The value is an integer year number. 105 public static final String KEY_YEAR = "android.media.metadata.YEAR";
|
/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...] |
/packages/apps/Contacts/res/layout/ |
date_picker.xml | 23 contained in it. This helps to prevent rounding errors when toggling the "Show year" option --> 75 <!-- Year --> 77 android:id="@+id/year"
|
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 89 public static final int YEAR = 1992; 134 values.put(Media.YEAR, YEAR); 165 public static final int YEAR = 1992; 213 values.put(Media.YEAR, YEAR);
|
/external/chromium/base/ |
time_posix.cc | 90 exploded->year = timestruct.tm_year + 1900; 108 timestruct.tm_year = exploded.year - 1900; 129 (exploded.year < 1969 || exploded.year > 1970)) { 130 // If exploded.year is 1969 or 1970, take -1 as correct, with the 144 if (exploded.year < 1969) {
|
/external/v8/test/mjsunit/ |
to_number_order.js | 59 var year = { valueOf: function() { x += 1; return 2007; } }; 68 new Date(year, month, date, hours, minutes, seconds, ms); 73 Date(year, month, date, hours, minutes, seconds, ms); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 126 new Date().setFullYear(year, month, date, hours, minutes, seconds, ms); 130 new Date().setUTCFullYear(year, month, date, hours, minutes, seconds, ms);
|
/libcore/luni/src/main/java/java/sql/ |
Date.java | 24 * format only deals with year, month and day values. There are no values for 41 * Constructs a {@code Date} object corresponding to the supplied year, 46 * the year, specified as the year minus 1900. Must be in the 229 int year = Integer.parseInt(dateString.substring(0, firstIndex)); local 234 return new Date(year - 1900, month - 1, day);
|
/cts/tests/src/android/app/cts/ |
DialogStubActivity.java | 101 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { 102 updatedYear = year; 389 public MockDatePickerDialog(Context context, OnDateSetListener callBack, int year, 391 super(context, callBack, year, monthOfYear, dayOfMonth); 395 int year, int monthOfYear, int dayOfMonth) { 396 super(context, theme, callBack, year, monthOfYear, dayOfMonth); 406 public void onDateChanged(DatePicker view, int year, int month, int day) { 408 super.onDateChanged(view, year, month, day);
|