/libcore/ojluni/src/main/java/java/util/ |
Calendar.java | 62 * #fields calendar fields} such as <code>YEAR</code>, <code>MONTH</code>, 90 * the first month of the calendar system has value <code>MONTH == 112 * <code>GregorianCalendar</code> interprets <code>MONTH == JANUARY</code>, 118 * <code>DAY_OF_MONTH</code> values between 1 and the length of the month. A 133 * first week of the month or year as a reference point. The first week of a 134 * month or year is defined as the earliest seven day period beginning on 136 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 147 * year and month with no day of month), or there may be inconsisten [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 940 cal2.set(Calendar.MONTH, Calendar.OCTOBER); 997 cal2.set(Calendar.MONTH, Calendar.OCTOBER); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 72 import com.android.calendar.month.MonthByWeekFragment; 487 case ViewType.MONTH: 726 // or the view type is "Month" or "Agenda". 735 && (mController.getViewType() == ViewType.MONTH || 746 // custom drawable that shows the day of the month of today [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 72 mMonth = c.get(Calendar.MONTH); 120 // Month is 0 based so add 1
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
BasicDurationFormat.java | 103 TimeUnit.MONTH,
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
EasterHoliday.java | 221 * Compute the month and date on which this holiday falls in the year 256 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 257 int d = l + 28 - 31*(m/4); // Date of Easter within that month 262 cal.set(Calendar.MONTH, m-1); // 0-based
|
EthiopicCalendar.java | 33 * Constant for ?????, the 1st month of the Ethiopic year. 38 * Constant for ????, the 2nd month of the Ethiopic year. 43 * Constant for ???, the 3rd month of the Ethiopic year. 48 * Constant for ????, the 4th month of the Ethiopic year. 53 * Constant for ??, the 5th month of the Ethiopic year. 58 * Constant for ????, the 6th month of the Ethiopic year. 63 * Constant for ????, the 7th month of the Ethiopic year. 68 * Constant for ????, the 8th month of the Ethiopic year. 73 * Constant for ????, the 9th month of the Ethiopic year. 78 * Constant for ??, the 10th month of the Ethiopic year. [all...] |
JapaneseCalendar.java | 142 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 147 public JapaneseCalendar(int era, int year, int month, int date) { 148 super(year, month, date); 160 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 165 public JapaneseCalendar(int year, int month, int date) { 166 super(year, month, date) [all...] |
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 99 // Set Date Time internal pattern for MONTH, DAY_OF_MONTH, HOUR_OF_DAY 100 dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "y 'Diff' MMM d --- MMM d");
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
BasicDurationFormat.java | 101 TimeUnit.MONTH,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
EasterHoliday.java | 235 * Compute the month and date on which this holiday falls in the year 270 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 271 int d = l + 28 - 31*(m/4); // Date of Easter within that month 276 cal.set(Calendar.MONTH, m-1); // 0-based
|
EthiopicCalendar.java | 32 * Constant for ?????, the 1st month of the Ethiopic year. 38 * Constant for ????, the 2nd month of the Ethiopic year. 44 * Constant for ???, the 3rd month of the Ethiopic year. 50 * Constant for ????, the 4th month of the Ethiopic year. 56 * Constant for ??, the 5th month of the Ethiopic year. 62 * Constant for ????, the 6th month of the Ethiopic year. 68 * Constant for ????, the 7th month of the Ethiopic year. 74 * Constant for ????, the 8th month of the Ethiopic year. 80 * Constant for ????, the 9th month of the Ethiopic year. 86 * Constant for ??, the 10th month of the Ethiopic year. [all...] |
JapaneseCalendar.java | 149 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 155 public JapaneseCalendar(int era, int year, int month, int date) { 156 super(year, month, date); 168 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 174 public JapaneseCalendar(int year, int month, int date) { 175 super(year, month, date) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DebugUtilitiesData.java | 40 "MONTH", /* 2 */ 121 com.ibm.icu.util.Calendar.MONTH, /* 2 */
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 98 // Set Date Time internal pattern for MONTH, DAY_OF_MONTH, HOUR_OF_DAY 99 dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "y 'Diff' MMM d --- MMM d");
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
TimestampTagTest.java | 95 int months = cal.get(Calendar.MONTH) + 1; // 0..12
|
/external/v8/src/ |
dateparser.cc | 15 // Day and month defaults to 1. 21 int month = kNone; local 28 month = comp_[1]; 32 month = comp_[0]; 37 month = named_month_; 57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 60 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 162 // Word longer than keyword is only allowed for month names.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 91 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 86 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-MMMM-dd", "1980-June-12").get(Calendar.MONTH)); 87 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-LLLL-dd", "1980-June-12").get(Calendar.MONTH)); 88 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-MMMM-dd", "1980-czerwca-12").get(Calendar.MONTH)); 89 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-LLLL-dd", "1980-czerwiec-12").get(Calendar.MONTH));
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 65 private static final long MONTH = 30 * DAY; 279 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
SimpleDateFormat.java | 58 * M month in year (Text & Number) July & 07 59 * d day in month (Number) 10 68 * F day of week in month (Number) 2 (2nd Wed in July) 70 * W week in month (Number) 2 82 * L* stand alone month (Text & Number) July & 07 261 // * Thai digits for the month and Devanagari digits for the year. 514 } else if (attr.equals(java.text.DateFormat.Field.MONTH)) { 515 val = attr = Field.MONTH;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** month member 110 protected int month; field in class:SIPDate 141 this.month == other.month && 154 month = -1; 202 month = javaCal.get(Calendar.MONTH); 203 switch (month) { 242 "No date map for month " + month); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
DateTest.java | 245 assertEquals("Returned incorrect month", 9, d.getMonth()); 306 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 388 assertEquals("Set incorrect month", 0, d.getMonth()); 445 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/libcore/ojluni/src/main/java/java/text/ |
DateFormat.java | 177 * Useful constant for MONTH field alignment. [all...] |