HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 76 - 100 of 355) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CalendarRegressionTest.java 44 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH",
159 calendar.set(Calendar.MONTH,3);
163 logln("MONTH: " + calendar.get(Calendar.MONTH));
170 //This will print out todays date for MONTH and DAY_OF_MONTH
173 logln("MONTH: " + calendar.get(Calendar.MONTH));
178 if (calendar.get(Calendar.MONTH) != 3 ||
211 * calendar.get(calendar.YEAR)); logln("MONTH: " +
212 * calendar.get(calendar.MONTH)); logln("WEEK_OF_YEAR: "
504 int sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Calendar.java 23 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>,
57 * as well as their meaning. For example, the first month of the year has value
58 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values
65 * <code>GregorianCalendar</code> interprets <code>MONTH</code> ==
71 * values between 1 and the length of the month.
81 * first week of the month or year as a reference point. The first week of a
82 * month or year is defined as the earliest seven day period beginning on
84 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks
93 * <code>Date</code> (such as only year and month but no day in the month), o
1401 calendar.set(getJDKField(MONTH), month); local
1420 calendar.set(getJDKField(MONTH), month); local
1443 calendar.set(getJDKField(MONTH), month); local
    [all...]
  /developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 72 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
83 calendar.set(Calendar.MONTH, monthOfYear);
  /developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 72 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
83 calendar.set(Calendar.MONTH, monthOfYear);
  /development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
PhoneMainActivity.java 72 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
83 calendar.set(Calendar.MONTH, monthOfYear);
  /external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
IsoDate.java 51 c.get(Calendar.MONTH) - Calendar.JANUARY + 1);
84 Calendar.MONTH,
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 63 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based.
180 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
203 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY);
206 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY);
309 assertTrue(locale.toString() + " month not found", seenMonth);
  /cts/tests/tests/widget/src/android/widget/cts/
DatePickerTest.java 237 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER);
241 calendar.get(Calendar.MONTH),
249 assertEquals(calendar.get(Calendar.MONTH), calendarFromSpinner.get(Calendar.MONTH));
  /development/tools/bugreport/src/com/android/bugreport/util/
Utils.java 97 result.set(Calendar.MONTH, Integer.parseInt(matcher.group(startGroup + 1)));
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CopticCalendar.java 32 * the 1st month of the Coptic year.
38 * the 2nd month of the Coptic year.
44 * the 3rd month of the Coptic year.
50 * the 4th month of the Coptic year.
56 * the 5th month of the Coptic year.
62 * the 6th month of the Coptic year.
68 * the 7th month of the Coptic year.
74 * the 8th month of the Coptic year.
80 * the 9th month of the Coptic year.
86 * the 10th month of the Coptic year.
    [all...]
IndianCalendar.java 31 * Month Length Start date (Gregorian)
73 * Constant for Chaitra, the 1st month of the Indian year.
78 * Constant for Vaisakha, the 2nd month of the Indian year.
83 * Constant for Jyaistha, the 3rd month of the Indian year.
88 * Constant for Asadha, the 4th month of the Indian year.
93 * Constant for Sravana, the 5th month of the Indian year.
98 * Constant for Bhadra, the 6th month of the Indian year.
103 * Constant for Asvina, the 7th month of the Indian year.
108 * Constant for Kartika, the 8th month of the Indian year.
113 * Constant for Agrahayana, the 9th month of the Indian year.
499 int year, month, day; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
RelativeDateTimeFormatterTest.java 54 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "in 1 month"},
83 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"},
124 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "In 1 month"},
153 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"},
366 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"},
380 {Direction.LAST, AbsoluteUnit.MONTH, "last month"},
392 {Direction.THIS, AbsoluteUnit.MONTH, "this month"},
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarPanel.java 108 int month = fCalendar[0].get(Calendar.MONTH); local
113 fCalendar[0].set(Calendar.MONTH, month);
142 // Stash away a Date for the start of this month
144 // Find the day of week of the first day in this month
149 // Now find the # of days in the month
153 // Finally, find the end of the month, i.e. the start of the next one
155 c.add(Calendar.MONTH, 1);
165 // Calculate the number of full or partial weeks in this month
331 String month = fSymbols[i].getMonths()[ local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CopticCalendar.java 32 * the 1st month of the Coptic year.
39 * the 2nd month of the Coptic year.
46 * the 3rd month of the Coptic year.
53 * the 4th month of the Coptic year.
60 * the 5th month of the Coptic year.
67 * the 6th month of the Coptic year.
74 * the 7th month of the Coptic year.
81 * the 8th month of the Coptic year.
88 * the 9th month of the Coptic year.
95 * the 10th month of the Coptic year.
    [all...]
IndianCalendar.java 30 * Month Length Start date (Gregorian)
74 * Constant for Chaitra, the 1st month of the Indian year.
80 * Constant for Vaisakha, the 2nd month of the Indian year.
86 * Constant for Jyaistha, the 3rd month of the Indian year.
92 * Constant for Asadha, the 4th month of the Indian year.
98 * Constant for Sravana, the 5th month of the Indian year.
104 * Constant for Bhadra, the 6th month of the Indian year.
110 * Constant for Asvina, the 7th month of the Indian year.
116 * Constant for Kartika, the 8th month of the Indian year.
122 * Constant for Agrahayana, the 9th month of the Indian year.
528 int year, month, day; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
RelativeDateTimeFormatterTest.java 53 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "in 1 month"},
82 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"},
123 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "In 1 month"},
152 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"},
365 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"},
379 {Direction.LAST, AbsoluteUnit.MONTH, "last month"},
391 {Direction.THIS, AbsoluteUnit.MONTH, "this month"},
    [all...]
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
ObexTime.java 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DatePicker.java 38 * year, month, and day Columns. The "minDate" and "maxDate" from which dates to be selected
204 mTempDate.add(Calendar.MONTH, newVal - oldVal);
210 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH),
295 private void setDate(int year, int month, int dayOfMonth) {
296 mCurrentDate.set(year, month, dayOfMonth);
308 * @param month The month which is <strong>starting from zero</strong>.
309 * @param dayOfMonth The day of the month.
312 public void updateDate(int year, int month, int dayOfMonth, boolean animation) {
313 if (!isNewDate(year, month, dayOfMonth))
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
ObexTime.java 99 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
  /packages/apps/Contacts/tests/src/com/android/contacts/interactions/
ContactInteractionUtilTest.java 83 // Test other (Month Date)
86 /* month = */ Calendar.MONTH,
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
SimpleDate.java 26 * Represents a date (year, month, day)
30 public int month; // MM field in class:SimpleDate
50 this.month = sCalendarInstance.get(Calendar.MONTH);
63 result = prime * result + month;
83 if (month != other.month) {
98 int monthDiff = this.month - other.getMonth();
112 return month;
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateIntervalFormat.java 94 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and
98 * year &gt; month &gt; date &gt; hour (in day) &gt; minute &gt; second
119 * If the largest different calendar field between date1 and date2 is "month",
125 * For date skeleton, the interval patterns when year, or month, or date is
143 * when the year, month, or day differs, falls back to fall-back
164 * For example, if user only requests year and month,
227 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY,
230 * dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "yyyy 'diff' MMM d - MMM d");
461 * "EEE, d MMM - EEE, d MMM, yyyy" for month differs,
652 } else if ( fromCalendar.get(Calendar.MONTH) !
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateIntervalFormat.java 93 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and
97 * year &gt; month &gt; date &gt; hour (in day) &gt; minute &gt; second
118 * If the largest different calendar field between date1 and date2 is "month",
124 * For date skeleton, the interval patterns when year, or month, or date is
142 * when the year, month, or day differs, falls back to fall-back
163 * For example, if user only requests year and month,
226 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY,
229 * dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "yyyy 'diff' MMM d - MMM d");
463 * "EEE, d MMM - EEE, d MMM, yyyy" for month differs,
660 } else if ( fromCalendar.get(Calendar.MONTH) !
    [all...]
  /frameworks/base/core/java/android/net/
NetworkPolicyManager.java 255 * 20th. When cycle day doesn't exist in current month, it snaps to the 1st
256 * of following month.
272 cal.add(Calendar.MONTH, -1);
292 cal.add(Calendar.MONTH, 1);
300 * Snap to the cycle day for the current month given; when cycle day doesn't
301 * exist, it snaps to last second of current month.
310 cal.add(Calendar.MONTH, 1);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
HolidayTest.java 153 // Stash away a Date for the start of this month
155 // Find the day of week of the first day in this month
159 // Now find the # of days in the month
163 // Finally, find the end of the month, i.e. the start of the next one
165 c.add(Calendar.MONTH, 1);
171 // Calculate the number of full or partial weeks in this month.
177 // Remember which holidays fall on which days in this month,
192 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth);
218 int month = fCalendar.get(Calendar.MONTH); local
    [all...]

Completed in 2686 milliseconds

1 2 34 5 6 7 8 91011>>