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

12 3 4 5 6

  /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);
  /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/
SimpleDate.java 23 * Represents a date (year, month, day)
26 public int month; // MM field in class:SimpleDate
46 this.month = sCalendarInstance.get(Calendar.MONTH);
58 result = prime * result + month;
74 if (month != other.month)
87 int monthDiff = this.month - other.getMonth();
100 return month;
  /libcore/luni/src/test/java/libcore/java/util/
CalendarTest.java 146 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) {
151 calendar.set(year, month, day, hour, minute);
153 assertEquals(month, calendar.get(Calendar.MONTH));
196 int year, int month, int day, int hour, int minute) {
198 assertEquals(month, calendar.get(Calendar.MONTH));
213 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 113 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) {
117 calendar.set(Calendar.MONTH, month);
190 if (dateFormatOrder[i] == DateFormat.MONTH) {
201 * determine whether the month field should be displayed before the day field, and returns
244 final int targetMonth = target.get(Calendar.MONTH);
  /packages/apps/Contacts/src/com/android/contacts/editor/
EventFieldEditorView.java 180 calendar.set(defaultYear, calendar.get(Calendar.MONTH),
207 oldMonth = calendar.get(Calendar.MONTH);
219 oldMonth = cal.get(Calendar.MONTH);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
WeekPicker.java 53 int month = date.get(Calendar.MONTH); local
55 if (month == 0 && week > 51) {
57 } else if (month == 11 && week == 1) {
DateTimePickerDialog.java 26 private static final String MONTH = "month";
48 * @param monthOfYear The month that was set (0-11) for compatibility
50 * @param dayOfMonth The day of the month that was set.
62 * @param monthOfYear The initial month of the dialog.
131 int month, int day) {
159 * @param monthOfYear The date month.
160 * @param dayOfMonth The date day of month.
  /external/chromium_org/third_party/tlslite/tlslite/utils/
dateFuncs.py 7 year, month, day = s.split("-")
11 year, month, day = int(year), int(month), int(day)
13 return createDateClass(year, month, day, hour, minute, second)
20 def createDateClass(year, month, day, hour, minute, second):
21 return datetime(year, month, day, hour, minute, second)
48 def createDateClass(year, month, day, hour, minute, second):
51 c.set(year, month-1, day, hour, minute, second)
56 (d.get(d.YEAR), d.get(d.MONTH)+1, d.get(d.DATE), \
  /frameworks/base/core/java/android/webkit/
DateSorter.java 33 * one month ago
34 * older than a month ago
65 c.add(Calendar.MONTH, -1);
66 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));
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleMonthAdapter.java 55 int month; field in class:SimpleMonthAdapter.CalendarDay
68 month = calendar.get(Calendar.MONTH);
72 public CalendarDay(int year, int month, int day) {
73 setDay(year, month, day);
78 month = date.month;
82 public void setDay(int year, int month, int day) {
84 this.month = month;
180 final int month = position % MONTHS_IN_YEAR; local
    [all...]
  /libcore/luni/src/main/java/java/text/
DateFormat.java 119 * to the {@link Calendar#MONTH} field.
683 * Marks the month part of a date.
685 public static final Field MONTH = new Field("month", Calendar.MONTH);
718 * Marks the day of the month part of a date.
720 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH);
728 * Marks the day of the week in the month part of a date.
730 public static final Field DAY_OF_WEEK_IN_MONTH = new Field("day of week in month",
740 * Marks the week of the month part of a date
    [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:
723 // or the view type is "Month" or "Agenda".
732 && (mController.getViewType() == ViewType.MONTH ||
743 // 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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_MessageFormat.java 89 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
  /external/chromium_org/chrome/browser/ui/webui/
history_ui.h 119 // - MONTH: the last calendar month.
123 MONTH = 2
  /external/chromium_org/v8/src/
dateparser.cc 37 // Day and month defaults to 1.
43 int month = kNone; local
50 month = comp_[1];
54 month = comp_[0];
59 month = named_month_;
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
82 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based
172 // Word longer than keyword is only allowed for month names.
  /external/v8/src/
dateparser.cc 37 // Day and month defaults to 1.
43 int month = kNone; local
50 month = comp_[1];
54 month = comp_[0];
59 month = named_month_;
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
82 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based
171 // Word longer than keyword is only allowed for month names.
  /libcore/support/src/test/java/tests/support/
Support_MessageFormat.java 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DateTest.java 248 assertEquals("Returned incorrect month", 9, d.getMonth());
309 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH));
391 assertEquals("Set incorrect month", 0, d.getMonth());
448 cal.set(Calendar.MONTH, Calendar.JANUARY);

Completed in 1710 milliseconds

12 3 4 5 6