Searched refs:month (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_time.h46 uint16_t month; member in struct:__db_system_time_
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java43 private static final String MONTH = "month";
64 * @param monthOfYear The month that was set (0-11) for compatibility
66 * @param dayOfMonth The day of the month that was set.
75 * @param monthOfYear The initial month of the dialog.
92 * @param monthOfYear The initial month of the dialog.
131 /* Sometimes the full month is displayed causing the title
149 int month, int day) {
150 updateTitle(year, month, day);
160 private void updateTitle(int year, int month, int day) { argument
162 mCalendar.set(Calendar.MONTH, month);
148 onDateChanged(DatePicker view, int year, int month, int day) argument
[all...]
/frameworks/base/core/java/android/util/
H A DMonthDisplayHelper.java22 * Helps answer common questions that come up when displaying a month in a
32 // holds current month, year, helps compute display
43 * @param month The month.
46 public MonthDisplayHelper(int year, int month, int weekStartDay) { argument
55 mCalendar.set(Calendar.MONTH, month);
66 public MonthDisplayHelper(int year, int month) { argument
67 this(year, month, Calendar.SUNDAY);
85 * @return The first day of the month using a constants such as
93 * @return The number of days in the month
[all...]
H A DDayOfMonthCursor.java20 * Helps control and display a month view of a calendar that has a current
23 * <li>Keeps track of current month, day, year</li>
29 * This should be used by anyone who presents a month view to users and wishes
31 * mind about when to flip the month, we can change it here only.
42 * @param month The initial month.
48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { argument
49 super(year, month, weekStartDay);
73 * @return 0 if the selection is in the current month, otherwise -1 or +1
96 * Move up one box, potentially flipping to the previous month
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_time.c47 time_ptr->month = tm_t->tm_mon + 1;
H A Ddrm_api.c347 if (-1 == drm_checkDate(curDateTime.year, curDateTime.month, curDateTime.day,
351 YMD_HMS_2_INT(curDateTime.year, curDateTime.month, curDateTime.day,
461 if (-1 == drm_checkDate(curDateTime.year, curDateTime.month, curDateTime.day,
465 YMD_HMS_2_INT(curDateTime.year, curDateTime.month, curDateTime.day,
/frameworks/base/media/libdrm/mobile1/include/parser/
H A Dparser_rel.h82 * Input year and month, return how many days that month have
84 * \param month (in)Input the month
86 * -A positive integer, which is how many days that month have
89 int32_t drm_monthDays(int32_t year, int32_t month);
94 * \param month month of the date
103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java55 * Mon can be the full name of the month.
89 int month = Calendar.JANUARY;
96 month = getMonth(rfcMatcher.group(2));
102 month = getMonth(ansicMatcher.group(1));
114 month = Calendar.JANUARY;
120 month, year);
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java44 represent the month. Depending on how many times that character is repeated
48 For the month of September:<br/>
107 This designator indicates the day of the month.
109 Examples for the 9th of the month:
155 This designator indicates the month of the year
294 int month = value.indexOf('M');
298 if (month >= 0 && day >= 0 && year >= 0) {
300 if (year < month && year < day) {
301 if (month < day) {
306 } else if (month < da
[all...]
H A DTime.java66 * Day of month [1-31]
73 public int month; field in class:Time
228 int n = DAYS_PER_MONTH[this.month];
269 this.month = 0;
557 this.month = that.month;
569 public void set(int second, int minute, int hour, int monthDay, int month, int year) { argument
575 this.month = month;
588 * @param monthDay the day of the month (i
592 set(int monthDay, int month, int year) argument
[all...]
H A DDateUtils.java189 * This is not actually a useful month name in all locales.
226 // used for formatting a start and end date that fall in the same month.
334 * Return a localized string for the month of the year.
335 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY},
341 * @return Localized month of the year.
343 public static String getMonthString(int month, int abbrev) { argument
359 return r.getString(list[month - Calendar.JANUARY]);
363 * Return a localized string for the month of the year, for
364 * contexts where the month is not formatted together with
365 * a day of the month
376 getStandaloneMonthString(int month, int abbrev) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java35 // + t.month + '-' + t.monthDay
101 // The month numbers are 0-relative, so Jan=0, Feb=1,...Dec=11
133 // The month numbers are 0-relative, so Jan=0, Feb=1,...Dec=11
190 if (local.year != test.year2 || local.month != test.month2
196 local.year, local.month, local.monthDay, local.hour, local.minute);
208 if (local.year != test.year2 || local.month != test.month2
214 local.year, local.month, local.monthDay, local.hour, local.minute);
231 if (local.year != test.year2 || local.month != test.month2
238 local.year, local.month, local.monthDay, local.hour, local.minute,
253 if (local.year != test.year2 || local.month !
[all...]
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c38 #define DAY_PER_MONTH 30 /* Days per month */
47 /** Accumulated number of days from 01-Jan up to start of current month. */
304 * \param month the month (1 - 12)
314 uint32_t year, uint32_t month, uint32_t day,
324 && month > 0 && month <= 12
330 day += ydays[month - 1] + (month > 2 && leap (year)) - 1;
347 * <code>date = year * 10000 + month * 10
313 mkgmtime( uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) argument
355 int32_t year, month, day, hour, minute, second; local
398 int32_t year, month, day, hour, minute, second; local
[all...]
/frameworks/base/core/jni/
H A DTime.cpp69 static inline int days_this_month(int year, int month) argument
71 int n = DAYS_PER_MONTH[month];
H A Dandroid_text_format_Time.cpp210 env->ReleaseStringUTFChars(js_month[i], locale.month[i]);
249 locale.month[i] = env->GetStringUTFChars(js_month[i], NULL);
418 // month
425 // day of month
503 // month
666 g_monField = env->GetFieldID(timeClass, "month", "I");
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_rel.c25 int32_t drm_monthDays(int32_t year, int32_t month) argument
27 switch (month) {
51 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, argument
54 if (month >= 1 && month <= 12 &&
55 day >= 1 && day <= drm_monthDays(year, month) &&
85 /** get month */
354 /** get month */
/frameworks/base/core/java/android/widget/
H A DDatePicker.java38 * A view for selecting a month / year / day based on a calendar like layout.
70 * @param monthOfYear The month that was set (0-11) for compatibility
72 * @param dayOfMonth The day of the month that was set.
100 mMonthPicker = (NumberPicker) findViewById(R.id.month);
106 * If the user is in a locale where the month names are numeric,
107 * use just the number instead of the "month" character for
121 /* We display the month 1-12 but store it 0-11 so always
125 // Adjust max day of the month
258 private SavedState(Parcelable superState, int year, int month, int day) { argument
261 mMonth = month;
[all...]
H A DDateTimeView.java99 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0);
139 // Else, show month day and year.
/frameworks/base/services/java/com/android/server/
H A DThrottleService.java656 int month = end.get(Calendar.MONTH);
657 if (month == Calendar.DECEMBER) {
659 month = Calendar.JANUARY - 1;
661 end.set(Calendar.MONTH, month + 1);
674 int month = end.get(Calendar.MONTH);
676 month = Calendar.DECEMBER + 1;
679 start.set(Calendar.MONTH, month - 1);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java561 int month = IccUtils.gsmBcdByteToInt(pdu[cur++]);
583 time.month = month - 1;
H A DGsmServiceStateTracker.java1398 // month is 0 based!
1399 int month = Integer.parseInt(nitzSubs[1]) - 1;
1400 c.set(Calendar.MONTH, month);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java243 int month = IccUtils.cdmaBcdByteToInt(data[1]);
244 if (month < 1 || month > 12) return null;
245 ts.month = month - 1;
266 builder.append(", month=" + month);
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java288 assertEquals(bearerData.msgCenterTimeStamp.month, 11);
296 assertEquals(bearerData.deferredDeliveryTimeAbsolute.month, 5);
335 assertEquals(bearerData.msgCenterTimeStamp.month, 11);
343 assertEquals(bearerData.deferredDeliveryTimeAbsolute.month, 5);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java1365 // month is 0 based!
1366 int month = Integer.parseInt(nitzSubs[1]) - 1;
1367 c.set(Calendar.MONTH, month);

Completed in 1153 milliseconds