/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
GregorianCalendar.java | 71 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 73 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month, 75 * week 1 of a year, week 1 of a month may be shorter than 7 days, need 77 * the previous month. Days of a month before week 1 have a 117 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 142 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 248 // len length of month 759 int eyear, month, dayOfMonth, dayOfYear; local [all...] |
HebrewCalendar.java | 26 * the lunar month (approximately 29.53 days) an extra "leap month" is 33 * The leap month is known as "Adar 1" and is inserted between the 34 * months of Shevat and Adar in leap years. Since the leap month does 36 * month numbers are particularly complex. Users of this class should 86 * Constant for Tishri, the 1st month of the Hebrew year. 92 * Constant for Heshvan, the 2nd month of the Hebrew year. 98 * Constant for Kislev, the 3rd month of the Hebrew year. 104 * Constant for Tevet, the 4th month of the Hebrew year. 110 * Constant for Shevat, the 5th month of the Hebrew year. 458 int month = get(MONTH); local 539 int month = get(MONTH); local 812 int month = 0; local [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/calendar/ |
HolidayTest.java | 155 // Stash away a Date for the start of this month 157 // Find the day of week of the first day in this month 161 // Now find the # of days in the month 165 // Finally, find the end of the month, i.e. the start of the next one 167 c.add(Calendar.MONTH, 1); 173 // Calculate the number of full or partial weeks in this month. 179 // Remember which holidays fall on which days in this month, 194 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); 220 int month = fCalendar.get(Calendar.MONTH); local [all...] |
/external/libchrome/base/time/ |
time.h | 447 int month; // 1-based month (values 1 = January, etc.) member in struct:base::Time::Exploded 449 int day_of_month; // 1-based day of month (1-31) 550 // month is set to 31 on a 28-30 day month. Returns Time(0) on overflow.
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** month member 110 protected int month; field in class:SIPDate 141 this.month == other.month && 154 month = -1; 202 month = javaCal.get(Calendar.MONTH); 203 switch (month) { 242 "No date map for month " + month); [all...] |
/external/python/cpython2/Lib/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 586 month = c.formatmonth variable [all...] |
/external/python/cpython3/Lib/ |
calendar.py | 15 "monthcalendar", "prmonth", "month", "prcal", "calendar", 25 def __init__(self, month): 26 self.month = month 28 return "bad month number %r; must be 1-12" % self.month 42 # Number of days per month (except for February in leap years) 45 # This module used to have hard-coded lists of day and month names, as 113 def weekday(year, month, day): 114 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 573 month = c.formatmonth variable [all...] |
/frameworks/base/core/java/android/widget/ |
DayPickerPagerAdapter.java | 83 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); 205 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; 209 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; 219 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); 248 final int month = getMonthForPosition(position); local 252 if (mSelectedDay != null && mSelectedDay.get(Calendar.MONTH) == month) { 259 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
HijrahDate.java | 96 * Gregorian calendar, and the length of each month is based on the period 130 * The month-of-year. 134 * The day-of-month. 141 * month-of-year and day-of-month. 144 * @param monthOfYear the month-of-year to represent, from 1 to 12 145 * @param dayOfMonth the day-of-month to represent, from 1 to 30 215 * from the proleptic-year, month-of-year and day-of-month fields. 218 * The day must be valid for the year and month, otherwise an exception will be thrown 687 int month = in.readByte(); local [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
LocalGregorianCalendar.java | 306 int month = ldate.getMonth(); local 308 if (month > sinceMonth) { 311 if (month == sinceMonth) {
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TestIsoChronology.java | 75 import java.time.Month; 179 public void test_badDates(int year, int month, int dom) { 180 IsoChronology.INSTANCE.date(year, month, dom); 186 int month = 5; local 188 LocalDate test = IsoChronology.INSTANCE.date(IsoEra.BCE, year, month, dayOfMonth); 191 assertEquals(test.get(ChronoField.MONTH_OF_YEAR), month); local 235 assertEquals(IsoChronology.INSTANCE.date(1726, 4, 4), isoDate.with(Month.APRIL));
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeeksAdapter.java | 17 package com.android.calendar.month; 57 * Which month should be in focus currently. 248 * Changes which month is in focus and updates the view. 250 * @param month The month to show as in focus [0-11] 252 public void updateFocusMonth(int month) { 253 mFocusMonth = month;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ChineseCalendar.java | 25 * calendar is a lunisolar calendar: Each month starts on a new moon, and 27 * guarantee that month 11 always contains the winter solstice. In order 29 * months are numbered the same as the month they follow. The decision of 30 * which month is a leap month depends on the relative movements of the sun 168 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 175 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { 176 this(year, month, isLeapMonth, date, 0, 0, 0) 859 int month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
IslamicCalendar.java | 36 * Each month of the calendar starts when the new moon's crescent is visible 44 * and 30-day months, with a leap day added to the last month of 11 out of 56 * start of a month in the religious calendar to differ from the civil calendar 61 * of a lunar month with a fairly high degree of certainty. However, these 94 * Constant for Muharram, the 1st month of the Islamic year. 99 * Constant for Safar, the 2nd month of the Islamic year. 104 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 109 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 114 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. 119 * Constant for Jumada al-thani or (Jumada II), the 6th month of the Islamic year 752 int month = 12*(extendedYear-1); local 812 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CopticTest.java | 108 // Julian Day Era Year Month Day WkDay Hour Min Sec 155 for (int m = 0; m < 12; ++m) { // don't understand rules for 13th month 156 for (int d = 1; d < 25; d += 3) { // play it safe on days per month 160 int month = cal.get(Calendar.MONTH); local 163 m == month && 170 " m: " + month + 203 cal.get(MONTH) + "/" + 209 cal.get(MONTH) + "/" + 227 * maximum month length [all...] |
DangiTest.java | 90 int m = cal.get(Calendar.MONTH) + 1; // 0-based -> 1-based 117 cal.set(Calendar.MONTH, cmonth - 1); 134 * month zero. This was a problem with some of the astronomical 147 cal.get(Calendar.MONTH) + 192 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM 193 // Note: exp.month is ONE-BASED 200 // If we set MONTH only, that should be used 203 Calendar.MONTH, 3, 208 Calendar.MONTH, 1, // Should ignore 216 Calendar.MONTH, 3 238 int month = cal.get(Calendar.MONTH); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormatSymbols.java | 42 final String[] month; local 47 month=symbol.getMonths(); 48 int cnt = month.length; 54 logln(month[i]); 69 String[] month =symbol.getMonths(context[i],width[j]); local 70 int cnt = month.length; 74 for (int k = 0; k < month.length; k++) { 75 logln(month[k]);
|
/external/icu/icu4c/source/i18n/ |
chnsecal.cpp | 178 { 0, 0, 11, 11}, // MONTH 235 * extended year and month. 238 * whether or not the given month is a leap month. 241 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 242 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - 254 * <li>MONTH 312 * given month in the given extended year. 315 * whether the given month is a leap month 698 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
gregocal.cpp | 83 { 0, 0, 11, 11}, // MONTH 113 * MONTH 0 0 11 11 222 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 231 set(UCAL_MONTH, month); 237 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 246 set(UCAL_MONTH, month); 254 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 264 set(UCAL_MONTH, month); 369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local 383 month = getGregorianMonth() [all...] |