HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 1 - 25 of 389) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
TimeUnitConstants.java 21 /** Represents a month. */
22 public static final TimeUnit MONTH = TimeUnit.MONTH;
TimeUnit.java 39 /** Represents a month. */
40 public static final TimeUnit MONTH = new TimeUnit("month", 1);
72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
TimeUnitConstants.java 19 /** Represents a month. */
20 public static final TimeUnit MONTH = TimeUnit.MONTH;
TimeUnit.java 37 /** Represents a month. */
38 public static final TimeUnit MONTH = new TimeUnit("month", 1);
70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DangiTest.java 90 int m = cal.get(Calendar.MONTH) + 1; // 0-based -> 1-based
117 cal.set(Calendar.MONTH, cmonth - 1);
134 * month zero. This was a problem with some of the astronomical
147 cal.get(Calendar.MONTH) +
192 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
193 // Note: exp.month is ONE-BASED
200 // If we set MONTH only, that should be used
203 Calendar.MONTH, 3,
208 Calendar.MONTH, 1, // Should ignore
216 Calendar.MONTH, 3
238 int month = cal.get(Calendar.MONTH); local
    [all...]
HebrewTest.java 51 * The only real nastiness with roll is the MONTH field, since a year can
58 // year month day field amount year month day
60 { 5759, HESHVAN, 2, MONTH, 1, 5759, KISLEV, 2 }, // non-leap years
61 { 5759, SHEVAT, 2, MONTH, 1, 5759, ADAR, 2 },
62 { 5759, SHEVAT, 2, MONTH, 2, 5759, NISAN, 2 },
63 { 5759, SHEVAT, 2, MONTH, 12, 5759, SHEVAT, 2 },
64 { 5759, AV, 1, MONTH, 12, 5759, AV, 1 }, // Alan
66 { 5757, HESHVAN, 2, MONTH, 1, 5757, KISLEV, 2 }, // leap years
67 { 5757, SHEVAT, 2, MONTH, 1, 5757, ADAR_1, 2 }
    [all...]
ChineseTest.java 110 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based
138 cal.set(Calendar.MONTH, cmonth-1);
156 * month zero. This was a problem with some of the astronomical
169 cal.get(Calendar.MONTH) +
211 // ** Millis->fields gives 0-based month -1
215 // Julian Day Era Year Month Leap DOM WkDay
283 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78
317 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
318 // Note: exp.month is ONE-BASED
325 // If we set MONTH only, that should be use
375 int month = cal.get(Calendar.MONTH); local
    [all...]
ChineseTestCase.java 27 * @param month the MONTH (1-based) field of tested calendar on
29 * @param isLeapMonth if true, treat month as a leap month
36 int era, int year, int month,
43 set(Calendar.MONTH, month - 1);
56 "/" + (get(Calendar.MONTH)+1) +
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DangiTest.java 87 int m = cal.get(Calendar.MONTH) + 1; // 0-based -> 1-based
114 cal.set(Calendar.MONTH, cmonth - 1);
131 * month zero. This was a problem with some of the astronomical
144 cal.get(Calendar.MONTH) +
189 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
190 // Note: exp.month is ONE-BASED
197 // If we set MONTH only, that should be used
200 Calendar.MONTH, 3,
205 Calendar.MONTH, 1, // Should ignore
213 Calendar.MONTH, 3
235 int month = cal.get(Calendar.MONTH); local
    [all...]
HebrewTest.java 48 * The only real nastiness with roll is the MONTH field, since a year can
55 // year month day field amount year month day
57 { 5759, HESHVAN, 2, MONTH, 1, 5759, KISLEV, 2 }, // non-leap years
58 { 5759, SHEVAT, 2, MONTH, 1, 5759, ADAR, 2 },
59 { 5759, SHEVAT, 2, MONTH, 2, 5759, NISAN, 2 },
60 { 5759, SHEVAT, 2, MONTH, 12, 5759, SHEVAT, 2 },
61 { 5759, AV, 1, MONTH, 12, 5759, AV, 1 }, // Alan
63 { 5757, HESHVAN, 2, MONTH, 1, 5757, KISLEV, 2 }, // leap years
64 { 5757, SHEVAT, 2, MONTH, 1, 5757, ADAR_1, 2 }
    [all...]
ChineseTest.java 107 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based
135 cal.set(Calendar.MONTH, cmonth-1);
153 * month zero. This was a problem with some of the astronomical
166 cal.get(Calendar.MONTH) +
208 // ** Millis->fields gives 0-based month -1
212 // Julian Day Era Year Month Leap DOM WkDay
280 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78
314 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
315 // Note: exp.month is ONE-BASED
322 // If we set MONTH only, that should be use
372 int month = cal.get(Calendar.MONTH); local
    [all...]
ChineseTestCase.java 24 * @param month the MONTH (1-based) field of tested calendar on
26 * @param isLeapMonth if true, treat month as a leap month
33 int era, int year, int month,
40 set(Calendar.MONTH, month - 1);
53 "/" + (get(Calendar.MONTH)+1) +
  /external/nist-sip/java/gov/nist/javax/sip/parser/
HeaderParser.java 90 String month = lexer.ttoken().toLowerCase(); local
91 if (month.equals("jan")) {
92 retval.set(Calendar.MONTH, Calendar.JANUARY);
93 } else if (month.equals("feb")) {
94 retval.set(Calendar.MONTH, Calendar.FEBRUARY);
95 } else if (month.equals("mar")) {
96 retval.set(Calendar.MONTH, Calendar.MARCH);
97 } else if (month.equals("apr")) {
98 retval.set(Calendar.MONTH, Calendar.APRIL);
99 } else if (month.equals("may"))
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
TimeUnit.java 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR };
60 return MONTH;
HebrewCalendar.java 27 * the lunar month (approximately 29.53 days) an extra "leap month" is
34 * The leap month is known as "Adar 1" and is inserted between the
35 * months of Shevat and Adar in leap years. Since the leap month does
37 * month numbers are particularly complex. Users of this class should
86 * Constant for Tishri, the 1st month of the Hebrew year.
91 * Constant for Heshvan, the 2nd month of the Hebrew year.
96 * Constant for Kislev, the 3rd month of the Hebrew year.
101 * Constant for Tevet, the 4th month of the Hebrew year.
106 * Constant for Shevat, the 5th month of the Hebrew year.
435 int month = get(MONTH); local
515 int month = get(MONTH); local
786 int month = 0; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
TimeUnit.java 40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR };
62 return MONTH;
HebrewCalendar.java 26 * the lunar month (approximately 29.53 days) an extra "leap month" is
33 * The leap month is known as "Adar 1" and is inserted between the
34 * months of Shevat and Adar in leap years. Since the leap month does
36 * month numbers are particularly complex. Users of this class should
86 * Constant for Tishri, the 1st month of the Hebrew year.
92 * Constant for Heshvan, the 2nd month of the Hebrew year.
98 * Constant for Kislev, the 3rd month of the Hebrew year.
104 * Constant for Tevet, the 4th month of the Hebrew year.
110 * Constant for Shevat, the 5th month of the Hebrew year.
458 int month = get(MONTH); local
539 int month = get(MONTH); local
812 int month = 0; local
    [all...]
  /frameworks/base/core/java/android/util/
MonthDisplayHelper.java 22 * Helps answer common questions that come up when displaying a month in a
32 // holds current month, year, helps compute display
43 * @param month The month.
46 public MonthDisplayHelper(int year, int month, int weekStartDay) {
55 mCalendar.set(Calendar.MONTH, month);
66 public MonthDisplayHelper(int year, int month) {
67 this(year, month, Calendar.SUNDAY);
76 return mCalendar.get(Calendar.MONTH);
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
1-1.c 13 #define MONTH 8
43 time_ptr.tm_mon = MONTH;
  /platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
ICalendarHelper.java 23 public enum Page { DAY, MONTH, SCHEDULE, THREE_DAY, WEEK }
40 * Setup expectations: Calendar is open on a page other than {@link Page.MONTH} with all menus
43 * Opens the month dropdown.
48 * Setup expectations: Calendar is open on a page other than {@link Page.MONTH} and the month
51 * Closes the month dropdown.
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
PeriodBuilderFactoryTest.java 49 pbf.setAvailableUnitRange(MINUTE, MONTH);
54 assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal());
60 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) {
69 pbf.setAvailableUnitRange(MONTH, MINUTE);
79 pbf.setAvailableUnitRange(MONTH, MONTH);
85 pbf.setUnitIsAvailable(MONTH, false);
PeriodTest.java 32 assertFalse(null, p.isSet(TimeUnit.MONTH));
78 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH)
81 assertTrue(null, p.isSet(TimeUnit.MONTH));
82 assertEquals(null, 3f, p.getCount(TimeUnit.MONTH), .1f);
83 p = p.and(2, TimeUnit.MONTH);
84 assertEquals(null, 2f, p.getCount(TimeUnit.MONTH), .1f);
109 p = p.and(-1, TimeUnit.MONTH);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
PeriodBuilderFactoryTest.java 46 pbf.setAvailableUnitRange(MINUTE, MONTH);
51 assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal());
57 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) {
66 pbf.setAvailableUnitRange(MONTH, MINUTE);
76 pbf.setAvailableUnitRange(MONTH, MONTH);
82 pbf.setUnitIsAvailable(MONTH, false);
PeriodTest.java 29 assertFalse(null, p.isSet(TimeUnit.MONTH));
75 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH)
78 assertTrue(null, p.isSet(TimeUnit.MONTH));
79 assertEquals(null, 3f, p.getCount(TimeUnit.MONTH), .1f);
80 p = p.and(2, TimeUnit.MONTH);
81 assertEquals(null, 2f, p.getCount(TimeUnit.MONTH), .1f);
106 p = p.and(-1, TimeUnit.MONTH);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDateFormatTest.java 44 cal.set(Calendar.MONTH, Calendar.JANUARY);
55 cal.set(Calendar.MONTH, Calendar.DECEMBER);
66 cal.set(Calendar.MONTH, Calendar.JANUARY);
77 cal.set(Calendar.MONTH, Calendar.DECEMBER);

Completed in 3269 milliseconds

1 2 3 4 5 6 7 8 91011>>