HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 51 - 75 of 327) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
PersianCalendar.java 27 * and the final month is 29 days in non-leap years and 30 days in leap
28 * ones. Historically, the lengths of the month differed in different
87 // len length of month
88 // len2 length of month in a leap year
89 // st days in year before start of month
212 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar.
213 * Note that the month value is 0-based. e.g., 0 for Farvardin.
221 public PersianCalendar(int year, int month, int date
418 int year, month, dayOfMonth, dayOfYear; local
    [all...]
SimpleDateRule.java 23 * Construct a rule for a fixed date within a month
25 * @param month The month in which this rule occurs (0-based).
26 * @param dayOfMonth The date in that month (1-based).
30 public SimpleDateRule(int month, int dayOfMonth)
32 this.month = month;
38 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal)
40 this.month = month;
226 private int month; field in class:SimpleDateRule
    [all...]
GregorianCalendar.java 69 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
71 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
73 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
75 * the previous month. Days of a month before week 1 have a
115 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
140 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
246 // len length of month
757 int eyear, month, dayOfMonth, dayOfYear; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
TestCase.java 62 get(Calendar.YEAR) + "/" + (get(Calendar.MONTH)+1) + "/" +
82 * @param month The MONTH (1-based) field of tested calendar on the given julian day
90 int era, int year, int month, int day,
98 set(Calendar.MONTH, month - 1);
107 * Initialize a TestCase object using a Gregorian year/month/day and
111 * @param gregMonth The Gregorian month of the date to be tested
112 * @param gregDay The Gregorian day of the month of the date to be tested
116 * @param month The MONTH (0-based) field of tested calendar on the given gregorian dat
    [all...]
PersianTest.java 90 int m = cal.get(Calendar.MONTH) + 1; // 0-based -> 1-based
114 cal.set(Calendar.MONTH, cmonth - 1);
132 assertEquals("Persian month 0 length", 31, handleGetMonthLength(1000, 0));
133 assertEquals("Persian month 7 length", 30, handleGetMonthLength(1000, 7));
CalendarRegression.java 44 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH",
156 calendar.set(Calendar.MONTH,3);
160 logln("MONTH: " + calendar.get(Calendar.MONTH));
167 //This will print out todays date for MONTH and DAY_OF_MONTH
170 logln("MONTH: " + calendar.get(Calendar.MONTH));
175 if (calendar.get(Calendar.MONTH) != 3 ||
207 * calendar.get(calendar.YEAR)); logln("MONTH: " +
208 * calendar.get(calendar.MONTH)); logln("WEEK_OF_YEAR: "
489 int sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPDateTimeImpl.java 34 private int month = 0; field in class:XMPDateTimeImpl
81 this.month = intCalendar.get(Calendar.MONTH) + 1; // cal is from 0..12
103 this.month = calendar.get(Calendar.MONTH) + 1; // cal is from 0..12
148 return month;
155 public void setMonth(int month)
157 if (month < 1)
159 this.month = 1;
161 else if (month > 12
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
SimpleDateRule.java 24 * Construct a rule for a fixed date within a month
26 * @param month The month in which this rule occurs (0-based).
27 * @param dayOfMonth The date in that month (1-based).
30 public SimpleDateRule(int month, int dayOfMonth)
32 this.month = month;
38 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal)
40 this.month = month;
220 private int month; field in class:SimpleDateRule
    [all...]
GregorianCalendar.java 70 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
72 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
74 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
76 * the previous month. Days of a month before week 1 have a
116 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
141 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
244 // len length of month
732 int eyear, month, dayOfMonth, dayOfYear; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
PersianTest.java 94 int m = cal.get(Calendar.MONTH) + 1; // 0-based -> 1-based
118 cal.set(Calendar.MONTH, cmonth - 1);
136 assertEquals("Persian month 0 length", 31, handleGetMonthLength(1000, 0));
137 assertEquals("Persian month 7 length", 30, handleGetMonthLength(1000, 7));
CalendarRegression.java 48 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH",
160 calendar.set(Calendar.MONTH,3);
164 logln("MONTH: " + calendar.get(Calendar.MONTH));
171 //This will print out todays date for MONTH and DAY_OF_MONTH
174 logln("MONTH: " + calendar.get(Calendar.MONTH));
179 if (calendar.get(Calendar.MONTH) != 3 ||
211 * calendar.get(calendar.YEAR)); logln("MONTH: " +
212 * calendar.get(calendar.MONTH)); logln("WEEK_OF_YEAR: "
493 int sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local
    [all...]
  /external/libmtp/
hotplug.sh.in 161 MONTH=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $2; }'`
167 if [ "${MONTH}" -ge "08" ]; then
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
Support_SimpleDateFormat.java 77 t_FormatWithField(2, format, date, null, Field.MONTH, 19, 20);
108 t_FormatWithField(26, format, date, null, Field.MONTH, 0, 0);
162 v.add(new FieldContainer(4, 6, Field.MONTH));
176 v.add(new FieldContainer(8, 17, Field.MONTH));
213 v.add(new FieldContainer(19, 20, Field.MONTH));
214 v.add(new FieldContainer(21, 23, Field.MONTH));
215 v.add(new FieldContainer(24, 27, Field.MONTH));
216 v.add(new FieldContainer(28, 37, Field.MONTH));
FieldPositionTest.java 41 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH);
43 DateFormat.Field.MONTH, fpos.getFieldAttribute());
53 FieldPosition fpos = new FieldPosition(DateFormat.Field.MONTH,
56 DateFormat.Field.MONTH, fpos.getFieldAttribute());
  /frameworks/base/core/java/android/app/
DatePickerDialog.java 47 private static final String MONTH = "month";
83 * @param month the initially selected month (0-11 for compatibility with
84 * {@link Calendar#MONTH})
85 * @param dayOfMonth the initially selected day of month (1-31, depending
86 * on month)
89 int year, int month, int dayOfMonth) {
90 this(context, 0, listener, null, year, month, dayOfMonth);
102 * @param monthOfYear the initially selected month of the year (0-11 fo
216 final int month = savedInstanceState.getInt(MONTH); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePickerDialog.java 50 private static final String MONTH = "month";
71 * @param monthOfYear The month that was set (0-11) for compatibility
73 * @param dayOfMonth The day of the month that was set.
82 * @param monthOfYear The initial month of the dialog.
98 * @param monthOfYear The initial month of the dialog.
119 * @param monthOfYear The initial month of the dialog.
137 * @param monthOfYear The initial month of the dialog.
182 public void onDateChanged(DatePicker view, int year, int month, int day) {
183 updateTitle(year, month, day)
217 int month = savedInstanceState.getInt(MONTH); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockContract.java 227 * Alarm month in year.
231 String MONTH = "month";
234 * Alarm day in month.
  /libcore/ojluni/src/main/java/java/util/
GregorianCalendar.java 134 * <h4>Week Of Month</h4>
137 * to 6. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
139 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
141 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
143 * the previous month. Days of a month before week 1 have a
190 * <code>MONTH<br></code>
277 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
302 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH))
923 int month = internalGet(MONTH) + amount; local
2369 int month = cdate.getMonth() - 1; \/\/ 0-based local
2939 int month = JANUARY; local
    [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
56 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values
63 * <code>GregorianCalendar</code> interprets <code>MONTH</code> ==
69 * values between 1 and the length of the month.
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
91 * <code>Date</code> (such as only year and month but no day in the month), o
1399 calendar.set(getJDKField(MONTH), month); local
1418 calendar.set(getJDKField(MONTH), month); local
1441 calendar.set(getJDKField(MONTH), month); local
    [all...]
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 35 public int month; field in class:Alarm
45 month = in.readInt();
71 parcel.writeInt(month);
85 jsonObject.put("month", month);
107 alarm.month = jsonObject.getInt("month");
122 ", month=" + month +
139 month == alarm.month &
    [all...]
  /developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 69 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
80 calendar.set(Calendar.MONTH, monthOfYear);
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 35 public int month; field in class:Alarm
45 month = in.readInt();
71 parcel.writeInt(month);
85 jsonObject.put("month", month);
107 alarm.month = jsonObject.getInt("month");
122 ", month=" + month +
139 month == alarm.month &
    [all...]
  /developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 69 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
80 calendar.set(Calendar.MONTH, monthOfYear);
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
Alarm.java 35 public int month; field in class:Alarm
45 month = in.readInt();
71 parcel.writeInt(month);
85 jsonObject.put("month", month);
107 alarm.month = jsonObject.getInt("month");
122 ", month=" + month +
139 month == alarm.month &
    [all...]
  /development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
PhoneMainActivity.java 69 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
80 calendar.set(Calendar.MONTH, monthOfYear);

Completed in 2124 milliseconds

1 23 4 5 6 7 8 91011>>