/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
TimeUnitConstants.java | 16 /** Represents a year. */ 17 public static final TimeUnit YEAR = TimeUnit.YEAR;
|
TimeUnit.java | 33 /** Represents a year. */ 34 public static final TimeUnit YEAR = new TimeUnit("year", 0); 69 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnitConstants.java | 14 /** Represents a year. */ 15 public static final TimeUnit YEAR = TimeUnit.YEAR;
|
TimeUnit.java | 31 /** Represents a year. */ 32 public static final TimeUnit YEAR = new TimeUnit("year", 0); 67 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 46 private static final String YEAR = "year"; 82 * @param year the initially selected year 89 int year, int month, int dayOfMonth) { 90 this(context, 0, listener, null, year, month, dayOfMonth); 101 * @param year the initially selected year 102 * @param monthOfYear the initially selected month of the year (0-11 for 108 @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) 215 final int year = savedInstanceState.getInt(YEAR); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 220 * Alarm year. 224 String YEAR = "year"; 227 * Alarm month in year.
|
/cts/tests/tests/provider/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);
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 154 public static final char YEAR = 'y'; 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 509 replacement = getYearString(inDate.get(Calendar.YEAR), count); 589 private static String getYearString(int year, int count) { 590 return (count <= 2) ? zeroPad(year % 100, 2) 591 : String.format(Locale.getDefault(), "%d", year);
|
Time.java | 42 * <a href="http://en.wikipedia.org/wiki/Year_2038_problem">Year 2038 problem</a> for details. 107 * Year. For example, 1970. 109 public int year; field in class:Time 117 * Day of year [0-365] 150 public static final int YEAR = 6; 201 this.year = 1970; 273 int y = this.year; 279 case YEAR: 284 int y = this.year; 285 // Year days are numbered from 0, so the last one is usually 364 [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 40 YEAR, DURATION, NUM_TRACKS, WRITER 115 Log.v(TAG, "Year : "+ value); 116 assertEquals(TAG, meta_data_file[fileIndex][meta.YEAR.ordinal()], value);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year 46 /** Magic year that represents "no year" */ 49 private static final String YEAR = "year"; 69 * @param year The year that was set or {@link DatePickerDialog#NO_YEAR} if the user has 70 * not specified a year 75 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); 81 * @param year The initial year of the dialo 216 int year = savedInstanceState.getInt(YEAR); local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 50 private static final int YEAR = 2008; 185 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 293 assertTrue(locale.toString() + " year not found", seenYear);
|
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 31 private static final long YEAR = 12 * MONTH; 46 c.set(Calendar.YEAR, 2009); 83 assertEquals("1/19/2009 ? 2/9/2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 88 assertEquals("19.01.2009 ? 09.02.2012", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 93 assertEquals("19/1/2009?9/2/2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 98 assertEquals("19/1/2009?9/2/2012", formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 112 assertEquals("Jan 19, 2009 ? Feb 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL)); 113 assertEquals("Jan 2009 ? Feb 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_NO_MONTH_DAY | FORMAT_ABBREV_ALL)); 114 assertEquals("January 19, 2009 ? February 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, 0)); 115 assertEquals("Monday, January 19, 2009 ? Thursday, February 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_WEEKDAY)) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 66 private static final long YEAR = 365 * DAY; 280 intervalLengths.put(UsageStatsManager.INTERVAL_YEARLY, YEAR);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CalendarTest.java | 43 public final static int YEAR = Calendar.YEAR; 58 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 141 * <li>0: input year 146 * <li>5: result year 153 * // year month day field amount year month day 182 Calendar.EXTENDED_YEAR : YEAR); 235 Calendar.ERA, Calendar.YEAR, Calendar.MONTH, 374 // Day of year [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
calendar.h | 55 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 91 * <code>UDate</code> (such as only year and month but no day in the month), 100 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 151 * specification of the historial Arabic astronomical calendar requires year, 218 YEAR, // Example: 1..big number 234 YEAR_WOY, // 'Y' Example: 1..big number - Year of Week of Year 544 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 566 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 584 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, i [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CalendarTest.java | 39 public final static int YEAR = Calendar.YEAR; 54 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 137 * <li>0: input year 142 * <li>5: result year 149 * // year month day field amount year month day 178 Calendar.EXTENDED_YEAR : YEAR); 231 Calendar.ERA, Calendar.YEAR, Calendar.MONTH, 370 // Day of year [all...] |
/external/v8/src/ |
dateparser.h | 19 // [0]: year 32 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 351 // If set, ensures that data is always parsed in year-month-date order.
|
/libcore/ojluni/src/main/java/java/text/ |
DateFormat.java | 172 * Useful constant for YEAR field alignment. [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RelativeDateTimeFormatter.java | 203 * Year 205 YEAR, 351 * @param unit the unit e.g day? month? year? 641 YEAR(RelativeUnit.YEARS, AbsoluteUnit.YEAR), 685 } else if ("year".contentEquals(keyword)) { 686 return YEAR; [all...] |
DateFormat.java | 51 * combinations of fields, like Month and Year, but have it to be formatted appropriate to a given locale. This is done 169 * corresponding to the {@link Calendar#YEAR} field. 375 * corresponding to the {@link Calendar#YEAR} field. 376 * This displays the cyclic year name, if available. 630 * calendar, while the year within the current 60-year cycle is specified, 711 * calendar, while the year within the current 60-year cycle is specified, [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
DateFormat.java | 149 * corresponding to the {@link Calendar#YEAR} field. 667 * {@icu} Constant for date skeleton with year. 670 public static final String YEAR = "y"; 687 * {@icu} Constant for date skeleton with year and quarter. 693 * {@icu} Constant for date skeleton with year and abbreviated quarter. 717 * {@icu} Constant for date skeleton with year and month. 723 * {@icu} Constant for date skeleton with year and abbreviated month. 729 * {@icu} Constant for date skeleton with year and numeric month. 741 * {@icu} Constant for date skeleton with year, month, and day. 748 * {@icu} Constant for date skeleton with year, abbreviated month, and day [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
Calendar.java | 21 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 55 * as well as their meaning. For example, the first month of the year has value 58 * <code>YEAR</code>. See individual field documentation and subclass 79 * first week of the month or year as a reference point. The first week of a 80 * month or year is defined as the earliest seven day period beginning on 82 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 86 * designate the week before week 1 of a year as week <em>n</em> of the previous 87 * year. 91 * <code>Date</code> (such as only year and month but no day in the month), or 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc 1398 calendar.set(getJDKField(YEAR), year); local 1417 calendar.set(getJDKField(YEAR), year); local 1440 calendar.set(getJDKField(YEAR), year); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RelativeDateTimeFormatter.java | 227 * Year 230 YEAR, 390 * @param unit the unit e.g day? month? year? 688 YEAR(RelativeUnit.YEARS, AbsoluteUnit.YEAR), 732 } else if ("year".contentEquals(keyword)) { 733 return YEAR; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
MeasureUnit.java | 518 * Constant for unit of duration: year 520 public static final TimeUnit YEAR = (TimeUnit) MeasureUnit.internalGetInstance("duration", "year"); 633 * Constant for unit of length: light-year 635 public static final MeasureUnit LIGHT_YEAR = MeasureUnit.internalGetInstance("length", "light-year"); [all...] |