HomeSort by relevance Sort by last modified time
    Searched refs:YEAR (Results 276 - 300 of 462) sorted by null

<<111213141516171819

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
SimpleDateFormat.java 105 * <th rowspan="6">year</th>
109 * <td>Year. Normally the length specifies the padding, but for two letters it also specifies the maximum
114 * <th>Year</th>
169 * <td>Year (in "Week of Year" based calendars). Normally the length specifies the padding,
170 * but for two letters it also specifies the maximum length. This year designation is used in ISO
171 * year-week calendar as defined by ISO 8601, but can be used in non-Gregorian based calendar systems
172 * where week date processing is desired. May not always be the same value as calendar year.</td>
178 * <td>Extended year. This is a single number designating the year of this calendar system, encompassin
    [all...]
TimeUnitFormat.java 41 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported
397 if (timeUnitName.equals("year")) {
398 timeUnit = TimeUnit.YEAR;
554 } else if (timeUnit == TimeUnit.YEAR) {
  /external/icu/android_icu4j/src/main/java/android/icu/text/
TimeUnitFormat.java 42 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported
399 if (timeUnitName.equals("year")) {
400 timeUnit = TimeUnit.YEAR;
556 } else if (timeUnit == TimeUnit.YEAR) {
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
SafeConstructor.java 324 calendar.set(Calendar.YEAR, Integer.parseInt(year_s));
360 calendar.set(Calendar.YEAR, Integer.parseInt(year_s));
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
SafeRepresenter.java 334 int years = calendar.get(Calendar.YEAR);
386 calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),
  /frameworks/base/core/java/android/text/format/
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/services/core/java/com/android/server/display/
NightDisplayService.java 463 final int year = mLastActivatedTime.get(Calendar.YEAR); local
469 mLastActivatedTime.set(Calendar.YEAR, year);
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 197 // 2 per year with 2^32 seconds would give ~272 transitions.
377 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) {
382 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS;
383 year %= 400;
385 calc += year * (365 * MILLISECONDS_PER_DAY);
386 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY;
388 if (year > 0) {
389 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY;
392 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0))
708 private int year; field in class:ZoneInfo.WallTime
    [all...]
  /developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 163 end.add(Calendar.YEAR, 1);
  /developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 163 end.add(Calendar.YEAR, 1);
  /development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 163 end.add(Calendar.YEAR, 1);
  /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.
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
Utils.java 269 c.get(Calendar.YEAR),
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKDayOfWeek.java 193 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.YEAR), false);
TCKYearMonth.java 65 import static java.time.temporal.ChronoField.YEAR;
90 import java.time.Year;
146 YEAR,
234 YearMonth.of(Year.MIN_VALUE - 1, Month.JANUARY);
239 YearMonth.of(Year.MAX_VALUE + 1, Month.JANUARY);
256 YearMonth.of(Year.MIN_VALUE - 1, 2);
261 YearMonth.of(Year.MAX_VALUE + 1, 2);
318 {"+" + Year.MAX_VALUE + "-03", YearMonth.of(Year.MAX_VALUE, 3)},
319 {Year.MIN_VALUE + "-03", YearMonth.of(Year.MIN_VALUE, 3)}
    [all...]
TCKLocalDate.java 73 import static java.time.temporal.ChronoField.YEAR;
102 import java.time.Year;
187 YEAR,
218 check(LocalDate.MIN, Year.MIN_VALUE, 1, 1);
223 check(LocalDate.MAX, Year.MAX_VALUE, 12, 31);
490 assertEquals(LocalDate.ofEpochDay(MAX_VALID_EPOCHDAYS), LocalDate.of(Year.MAX_VALUE, 12, 31));
491 assertEquals(LocalDate.ofEpochDay(MIN_VALID_EPOCHDAYS), LocalDate.of(Year.MIN_VALUE, 1, 1));
635 assertEquals(TEST_2007_07_15.isSupported(ChronoField.YEAR), true);
672 assertEquals(test.get(YEAR), 2008);
684 assertEquals(test.getLong(YEAR), 2008)
    [all...]
TCKOffsetDateTime.java 91 import static java.time.temporal.ChronoField.YEAR;
121 import java.time.Year;
206 YEAR,
229 check(OffsetDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0, ZoneOffset.MAX);
234 check(OffsetDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999, ZoneOffset.MIN);
564 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoField.YEAR), true);
601 assertEquals(test.get(ChronoField.YEAR), 2008);
620 assertEquals(test.getLong(ChronoField.YEAR), 2008);
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceProcessor.java 432 int realYear = iterator.year;
441 + "/" + iterator.year + " day=" + day);
448 realYear = t.year;
454 + "/" + t.year);
471 + "/" + t.year
670 // them to year/month/day values in the local timezone.
685 // them to year/month/day values in the local timezone.
698 // for fast comparisons and that is easy to generate from year/month/day
801 freqField = Time.YEAR;
1144 int year = date.year; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.java 683 int yearExpected = Calendar.getInstance().get(Calendar.YEAR);
690 int yearActual1 = Calendar.getInstance().get(Calendar.YEAR);
704 int yearActual2 = Calendar.getInstance().get(Calendar.YEAR);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatTest.java 75 {DateFormat.YEAR, "y","en","y"},
429 DateFormat.Field.YEAR,
508 DateFormat.Field.YEAR, // y
537 DateFormat.Field.YEAR, // U
1743 int year,month,day; local
4172 public int year; field in class:DateFormatTest.ChineseCalTestDate
4270 int year = rootChineseCalendar.get(Calendar.YEAR); local
4289 public int year; field in class:DateFormatTest.CalAndFmtTestItem
4387 int year = cal.get(Calendar.YEAR); local
    [all...]
DateTimeGeneratorTest.java 645 YEAR = new DateFieldType("YEAR"),
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateFormatTest.java 74 {DateFormat.YEAR, "y","en","y"},
428 DateFormat.Field.YEAR,
507 DateFormat.Field.YEAR, // y
536 DateFormat.Field.YEAR, // U
1742 int year,month,day; local
4171 public int year; field in class:DateFormatTest.ChineseCalTestDate
4269 int year = rootChineseCalendar.get(Calendar.YEAR); local
4288 public int year; field in class:DateFormatTest.CalAndFmtTestItem
4386 int year = cal.get(Calendar.YEAR); local
    [all...]
DateTimeGeneratorTest.java 644 YEAR = new DateFieldType("YEAR"),
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateUtilsTest.java 202 int currentYear = Calendar.getInstance().get(Calendar.YEAR);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
ssl.py 380 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return

Completed in 875 milliseconds

<<111213141516171819