/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_time.h | 46 uint16_t month; member in struct:__db_system_time_
|
/frameworks/base/media/mtp/ |
H A D | MtpUtils.cpp | 30 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12), 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 58 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range
|
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 40 private static final String MONTH = "month"; 54 * @param monthOfYear The month that was set (0-11) for compatibility 56 * @param dayOfMonth The day of the month that was set. 65 * @param monthOfYear The initial month of the dialog. 81 * @param monthOfYear The initial month of the dialog. 117 int month, int day) { 118 mDatePicker.init(year, month, day, null); 134 * @param monthOfYear The date month. 135 * @param dayOfMonth The date day of month. 154 int month 116 onDateChanged(DatePicker view, int year, int month, int day) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | DayOfMonthCursor.java | 20 * 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...] |
H A D | MonthDisplayHelper.java | 22 * 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...] |
/frameworks/base/core/jni/ |
H A D | Time.cpp | 69 static inline int days_this_month(int year, int month) argument 71 int n = DAYS_PER_MONTH[month];
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
H A D | parser_rel.c | 25 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/opt/calendar/src/com/android/calendarcommon/ |
H A D | RecurrenceProcessor.java | 204 iterator.month + 1); 321 * Compute the day of the week for the first day of the month. "instance" has a 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 349 // For each month day, see if it's part of the set. (This makes some assumptions 433 int realMonth = iterator.month; 439 + " " + iterator.month 444 // if might be past the end of the month, we need to normalize it 449 realMonth = t.month; 452 Log.i(TAG, "normalized t=" + t + " " + t.month 1245 monthLength(int year, int month) argument 1262 weekDay(int year, int month, int day) argument 1278 yearDay(int year, int month, int day) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 72 * Day of month [1-31] 79 public int month; field in class:Time 234 int n = DAYS_PER_MONTH[this.month]; 275 this.month = 0; 582 this.month = that.month; 594 public void set(int second, int minute, int hour, int monthDay, int month, int year) { argument 600 this.month = month; 613 * @param monthDay the day of the month (i 617 set(int monthDay, int month, int year) argument [all...] |
H A D | DateUtils.java | 195 * This is not actually a useful month name in all locales. 232 // used for formatting a start and end date that fall in the same month. 340 * Return a localized string for the month of the year. 341 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY}, 347 * @return Localized month of the year. 349 public static String getMonthString(int month, int abbrev) { argument 365 return r.getString(list[month - Calendar.JANUARY]); 369 * Return a localized string for the month of the year, for 370 * contexts where the month is not formatted together with 371 * a day of the month 382 getStandaloneMonthString(int month, int abbrev) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DatePicker.java | 49 * year, month, and day spinners or a {@link CalendarView}. The set of spinners 132 * @param monthOfYear The month that was set (0-11) for compatibility 134 * @param dayOfMonth The day of the month that was set. 213 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) { 214 setDate(year, month, monthDay); 227 // month 228 mMonthSpinner = (NumberPicker) findViewById(R.id.month); 521 * @param month The month which is <strong>starting from zero</strong>. 522 * @param dayOfMonth The day of the month 524 updateDate(int year, int month, int dayOfMonth) argument 589 isNewDate(int year, int month, int dayOfMonth) argument 595 setDate(int year, int month, int dayOfMonth) argument 758 SavedState(Parcelable superState, int year, int month, int day) argument [all...] |
H A D | CalendarView.java | 102 * Affects when the month selection will change while scrolling upe 222 * The name of the month to display. 242 * Which month should be displayed/highlighted [0-11]. 282 * The first day of the focused month. 316 * @param month The month that was set [0-11]. 317 * @param dayOfMonth The day of the month that was set. 319 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth); argument 772 * in range it will move the list so that the first of the month containing 809 // and if so scroll to the month tha 1116 setFocusMonth(int month) argument [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 39 #define DAY_PER_MONTH 30 /* Days per month */ 48 /** Accumulated number of days from 01-Jan up to start of current month. */ 305 * \param month the month (1 - 12) 315 uint32_t year, uint32_t month, uint32_t day, 325 && month > 0 && month <= 12 331 day += ydays[month - 1] + (month > 2 && leap (year)) - 1; 348 * <code>date = year * 10000 + month * 10 314 mkgmtime( uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) argument 356 int32_t year, month, day, hour, minute, second; local 399 int32_t year, month, day, hour, minute, second; local [all...] |