HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 26 - 50 of 160) sorted by null

12 3 4 5 6 7

  /development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
PhoneMainActivity.java 68 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
79 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 42 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based.
128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
157 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY);
160 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY);
  /external/smack/src/org/xbill/DNS/
FormattedTime.java 42 sb.append(w2.format(c.get(Calendar.MONTH)+1));
66 int month = Integer.parseInt(s.substring(4, 6)) - 1; local
71 c.set(year, month, date, hour, minute, second);
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
ObexTime.java 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
  /frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
ObexTime.java 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
AlarmInstance.java 66 MONTH,
103 values.put(MONTH, instance.mMonth);
300 mMonth = calendar.get(Calendar.MONTH);
314 calendar.set(Calendar.MONTH, mMonth);
  /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;
  /libcore/luni/src/test/java/libcore/java/util/
CalendarTest.java 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) {
152 calendar.set(year, month, day, hour, minute);
154 assertEquals(month, calendar.get(Calendar.MONTH));
199 int year, int month, int day, int hour, int minute) {
201 assertEquals(month, calendar.get(Calendar.MONTH));
216 cal.set(Calendar.MONTH, Calendar.JANUARY);
OldGregorianCalendarTest.java 62 assertEquals(Calendar.SEPTEMBER, g.get(Calendar.MONTH));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DateUtils.java 114 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) {
118 calendar.set(Calendar.MONTH, month);
191 if (dateFormatOrder[i] == DateFormat.MONTH) {
202 * determine whether the month field should be displayed before the day field, and returns
245 final int targetMonth = target.get(Calendar.MONTH);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerDialog.java 62 private static final String KEY_SELECTED_MONTH = "month";
121 * @param monthOfYear The month that was set (0-11) for compatibility
123 * @param dayOfMonth The day of the month that was set.
144 * @param monthOfYear The initial month of the dialog.
158 mCalendar.set(Calendar.MONTH, monthOfYear);
170 mCalendar.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH));
179 outState.putInt(KEY_SELECTED_MONTH, mCalendar.get(Calendar.MONTH));
254 mCalendar.get(Calendar.MONTH), mCalendar.get(Calendar.DAY_OF_MONTH));
340 mSelectedMonthTextView.setText(mCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT,
384 * @param calendar a Calendar object set to the year, month, day desired as the mindate
    [all...]
MonthAdapter.java 54 int month; field in class:MonthAdapter.CalendarDay
67 month = calendar.get(Calendar.MONTH);
71 public CalendarDay(int year, int month, int day) {
72 setDay(year, month, day);
77 month = date.month;
81 public void setDay(int year, int month, int day) {
83 this.month = month;
191 final int month = position % MONTHS_IN_YEAR; local
    [all...]
MonthView.java 52 * A calendar-like view displaying a specified month and the appropriate selectable day numbers
53 * within the specified month.
71 public static final String VIEW_PARAMS_MONTH = "month";
93 * Which month is currently in focus, as defined by {@link Time#month}
98 * If this month should display week numbers. false if 0, true otherwise.
143 // The month of the first day in this week
145 // The month of the last day in this week
334 * will only update if a new value is included, except for focus month,
335 * which will always default to no focus month if no value is passed in. Se
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
EventFieldEditorView.java 181 calendar.set(defaultYear, calendar.get(Calendar.MONTH),
208 oldMonth = calendar.get(Calendar.MONTH);
220 oldMonth = cal.get(Calendar.MONTH);
  /external/chromium_org/third_party/tlslite/tlslite/utils/
datefuncs.py 9 year, month, day = s.split("-")
13 year, month, day = int(year), int(month), int(day)
15 return createDateClass(year, month, day, hour, minute, second)
22 def createDateClass(year, month, day, hour, minute, second):
23 return datetime(year, month, day, hour, minute, second)
50 def createDateClass(year, month, day, hour, minute, second):
53 c.set(year, month-1, day, hour, minute, second)
58 (d.get(d.YEAR), d.get(d.MONTH)+1, d.get(d.DATE), \
  /external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
InputDialogContainer.java 82 // For input type=month is the number of months since 1970.
107 cal.get(Calendar.MONTH),
119 cal.get(Calendar.MONTH),
127 showPickerDialog(dialogType, cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 0,
210 int year, int month, int monthDay,
220 year, month, monthDay);
222 year, month, monthDay, local
239 year, month, monthDay,
244 year, month, min, max);
299 public void onDateSet(DatePicker view, int year, int month, int monthDay)
    [all...]
WeekPicker.java 64 int month = date.get(Calendar.MONTH); local
66 if (month == 0 && week > 51) {
68 } else if (month == 11 && week == 1) {
  /frameworks/base/core/java/android/webkit/
DateSorter.java 32 * one month ago
33 * older than a month ago
64 c.add(Calendar.MONTH, -1);
65 mBins[3] = c.getTimeInMillis(); // One month ago
  /libcore/luni/src/main/java/java/util/
Calendar.java 32 * {@code YEAR}, {@code MONTH}, {@code DAY},
57 * fields, as well as their meaning. For example, the first month of the year
58 * has value {@code MONTH} == {@code JANUARY} for all calendars.
66 * {@code GregorianCalendar} interprets {@code MONTH} ==
72 * values between 1 and the length of the month.
84 * the first week of the month or year as a reference point. The first week of a
85 * month or year is defined as the earliest seven day period beginning on
87 * {@code getMinimalDaysInFirstWeek()} days of that month or year. Weeks
97 * {@code Date} (such as only year and month but no day in the month), o
    [all...]
Date.java 37 * as the current month or day of week, or to construct a {@code Date} from a broken-down
67 * @param month
68 * the month, 0 - 11.
70 * the day of the month, 1 - 31.
75 public Date(int year, int month, int day) {
77 cal.set(1900 + year, month, day);
87 * @param month
88 * the month, 0 - 11.
90 * the day of the month, 1 - 31.
99 public Date(int year, int month, int day, int hour, int minute)
387 int year = -1, month = -1, date = -1; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 69 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-MMMM-dd", "1980-June-12").get(Calendar.MONTH));
70 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-LLLL-dd", "1980-June-12").get(Calendar.MONTH));
71 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-MMMM-dd", "1980-czerwca-12").get(Calendar.MONTH));
72 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-LLLL-dd", "1980-czerwiec-12").get(Calendar.MONTH));
  /packages/apps/Contacts/tests/src/com/android/contacts/interactions/
ContactInteractionUtilTest.java 121 // Test other (Month Date)
124 /* month = */ Calendar.MONTH,
  /frameworks/base/core/java/android/widget/
DatePickerCalendarDelegate.java 46 * A delegate for picking up a date (day / month / year).
70 /** Layout that contains the current month, day, and year. */
248 * Compute the array representing the order of Month / Day / Year views in their layout.
291 // Compute indices of Month, Day and Year views
306 // Position Day and Month views within the MonthAndDay view.
316 mHeaderMonthTextView.setText(mCurrentDate.getDisplayName(Calendar.MONTH, Calendar.SHORT,
373 mCurrentDate.set(Calendar.MONTH, monthOfYear);
382 public void updateDate(int year, int month, int dayOfMonth) {
384 mCurrentDate.set(Calendar.MONTH, month);
531 final int month = mCurrentDate.get(Calendar.MONTH); local
    [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...]

Completed in 3010 milliseconds

12 3 4 5 6 7