HomeSort by relevance Sort by last modified time
    Searched refs:month (Results 1 - 25 of 1124) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /development/scripts/
aday 10 month = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.index(letter) * 3
11 year = 2009 + (month / 12)
12 month %= 12
14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
  /external/icu/android_icu4j/src/main/java/android/icu/util/
HebrewCalendar.java 27 * the lunar month (approximately 29.53 days) an extra "leap month" is
34 * The leap month is known as "Adar 1" and is inserted between the
35 * months of Shevat and Adar in leap years. Since the leap month does
37 * month numbers are particularly complex. Users of this class should
86 * Constant for Tishri, the 1st month of the Hebrew year.
91 * Constant for Heshvan, the 2nd month of the Hebrew year.
96 * Constant for Kislev, the 3rd month of the Hebrew year.
101 * Constant for Tevet, the 4th month of the Hebrew year.
106 * Constant for Shevat, the 5th month of the Hebrew year.
435 int month = get(MONTH); local
515 int month = get(MONTH); local
786 int month = 0; local
    [all...]
PersianCalendar.java 30 * and the final month is 29 days in non-leap years and 30 days in leap
31 * ones. Historically, the lengths of the month differed in different
91 // len length of month
92 // len2 length of month in a leap year
93 // st days in year before start of month
216 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar.
217 * Note that the month value is 0-based. e.g., 0 for Farvardin.
225 public PersianCalendar(int year, int month, int date
422 int year, month, dayOfMonth, dayOfYear; local
    [all...]
CECalendar.java 29 { 0, 0, 12, 12 }, // MONTH
125 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
130 protected CECalendar(int year, int month, int date) {
132 this.set(year, month, date);
151 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
158 protected CECalendar(int year, int month, int date, int hour
    [all...]
IndianCalendar.java 31 * Month Length Start date (Gregorian)
73 * Constant for Chaitra, the 1st month of the Indian year.
78 * Constant for Vaisakha, the 2nd month of the Indian year.
83 * Constant for Jyaistha, the 3rd month of the Indian year.
88 * Constant for Asadha, the 4th month of the Indian year.
93 * Constant for Sravana, the 5th month of the Indian year.
98 * Constant for Bhadra, the 6th month of the Indian year.
103 * Constant for Asvina, the 7th month of the Indian year.
108 * Constant for Kartika, the 8th month of the Indian year.
113 * Constant for Agrahayana, the 9th month of the Indian year.
499 int year, month, day; local
    [all...]
SimpleDateRule.java 26 * Construct a rule for a fixed date within a month
28 * @param month The month in which this rule occurs (0-based).
29 * @param dayOfMonth The date in that month (1-based).
32 public SimpleDateRule(int month, int dayOfMonth)
34 this.month = month;
40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal)
42 this.month = month;
220 private int month; field in class:SimpleDateRule
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
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...]
PersianCalendar.java 29 * and the final month is 29 days in non-leap years and 30 days in leap
30 * ones. Historically, the lengths of the month differed in different
89 // len length of month
90 // len2 length of month in a leap year
91 // st days in year before start of month
214 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar.
215 * Note that the month value is 0-based. e.g., 0 for Farvardin.
223 public PersianCalendar(int year, int month, int date
420 int year, month, dayOfMonth, dayOfYear; local
    [all...]
CECalendar.java 28 { 0, 0, 12, 12 }, // MONTH
124 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
129 protected CECalendar(int year, int month, int date) {
131 this.set(year, month, date);
150 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
157 protected CECalendar(int year, int month, int date, int hour
    [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...]
SimpleDateRule.java 25 * Construct a rule for a fixed date within a month
27 * @param month The month in which this rule occurs (0-based).
28 * @param dayOfMonth The date in that month (1-based).
32 public SimpleDateRule(int month, int dayOfMonth)
34 this.month = month;
40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal)
42 this.month = month;
226 private int month; field in class:SimpleDateRule
    [all...]
  /external/libmicrohttpd/doc/
mdate-sh 104 # until we find a month. This cannot work with files whose owner is a
106 # will be owned by a user whose name is a month. So we first look at
113 # Find which argument is the month.
114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;
    [all...]
  /external/python/cpython2/Modules/_ctypes/libffi/
mdate-sh 104 # until we find a month. This cannot work with files whose owner is a
106 # will be owned by a user whose name is a month. So we first look at
113 # Find which argument is the month.
114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;
    [all...]
  /external/python/cpython3/Modules/_ctypes/libffi/
mdate-sh 104 # until we find a month. This cannot work with files whose owner is a
106 # will be owned by a user whose name is a month. So we first look at
113 # Find which argument is the month.
114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
unbirthday.py 26 month = int(sys.argv[2])
28 month = int(raw_input('And in which month? (1-12) '))
29 if not (1 <= month <= 12):
30 print 'There is no month numbered', month
36 day = int(raw_input('And on what day of that month? (1-31) '))
37 if month == 2 and calendar.isleap(year):
40 maxday = calendar.mdays[month]
42 print 'There are no', day, 'days in that month!'
    [all...]
  /external/python/cpython2/Demo/scripts/
unbirthday.py 26 month = int(sys.argv[2])
28 month = int(raw_input('And in which month? (1-12) '))
29 if not (1 <= month <= 12):
30 print 'There is no month numbered', month
36 day = int(raw_input('And on what day of that month? (1-31) '))
37 if month == 2 and calendar.isleap(year):
40 maxday = calendar.mdays[month]
42 print 'There are no', day, 'days in that month!'
    [all...]
  /libcore/ojluni/src/main/java/java/time/
MonthDay.java 91 * A month-day in the ISO-8601 calendar system, such as {@code --12-03}.
94 * of a month and day-of-month. Any field that can be derived from a month and day,
139 * The month-of-year, not null.
141 private final int month; field in class:MonthDay
143 * The day-of-month.
149 * Obtains the current month-day from the system clock in the default time-zone.
152 * time-zone to obtain the current month-day.
157 * @return the current month-day using the system clock and default time-zone, not nul
    [all...]
  /external/icu/icu4c/source/i18n/
hebrwcal.cpp 45 { 0, 0, 12, 12}, // MONTH
93 * The cumulative # of days to the end of each month in a non-leap year
117 * The cumulative # of days to the end of each month in a leap year
193 * need to be changed. For example, when adding one to the {@link #MONTH MONTH} field
204 * of a <tt>HebrewCalendar</tt>. Since the {@link #MONTH MONTH} field behaves
222 // We can't just do a set(MONTH, get(MONTH) + amount). The
227 int32_t month = get(UCAL_MONTH, status) local
319 int32_t month = get(UCAL_MONTH, status); local
585 int32_t month = 0; local
    [all...]
cecal.cpp 24 { 0, 0, 12, 12}, // MONTH
112 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset)
114 // handle month > 12, < 0 (e.g. from add/set)
115 if ( month >= 0 ) {
116 year += month/13;
117 month %= 13;
119 ++month;
120 year += month/13 - 1;
121 month = month%13 + 12
    [all...]
persncal.cpp 40 { 0, 0, 11, 11}, // MONTH
126 * Return the day # on which the given month starts. Days are counted
130 * @param year The Persian month, 0-based
132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const {
133 return handleComputeMonthStart(year,month,TRUE);
141 * Return the length (in days) of the given month.
144 * @param year The Persian month, 0-based
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const {
147 // If the month is out of range, adjust it into range, and
149 if (month < 0 || month > 11)
213 int32_t year, month, dayOfMonth, dayOfYear; local
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
BaseCalendar.java 151 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) {
153 setMonth(month).setDayOfMonth(dayOfMonth);
196 int month = bdate.getMonth(); local
197 if (month < JANUARY || month > DECEMBER) {
201 if (d <= 0 || d > getMonthLength(bdate.getNormalizedYear(), month)) {
275 long month = bdate.getMonth(); local
276 if (month <= 0) {
277 long xm = 1L - month;
279 month = 13 - (xm % 12)
323 int month = gdate.getMonth(); local
447 int month = 12 * priorDays + 373; local
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/temporal/
TCKTemporalAdjusters.java 64 import static java.time.Month.DECEMBER;
65 import static java.time.Month.JANUARY;
74 import java.time.Month;
112 for (Month month : Month.values()) {
113 for (int i = 1; i <= month.length(false); i++) {
114 LocalDate date = date(2007, month, i);
117 assertEquals(test.getMonth(), month); local
125 for (Month month : Month.values())
130 assertEquals(test.getMonth(), month); local
151 assertEquals(test.getMonth(), month); local
164 assertEquals(test.getMonth(), month); local
    [all...]
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 34 public int month; field in class:Alarm
43 public Alarm(int id, int month, int date, int hour, int minute) {
45 this.month = month;
63 jsonObject.put("month", month);
85 alarm.month = jsonObject.getInt("month");
100 ", month=" + month
    [all...]
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
Alarm.java 34 public int month; field in class:Alarm
43 public Alarm(int id, int month, int date, int hour, int minute) {
45 this.month = month;
63 jsonObject.put("month", month);
85 alarm.month = jsonObject.getInt("month");
100 ", month=" + month
    [all...]
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
Alarm.java 34 public int month; field in class:Alarm
43 public Alarm(int id, int month, int date, int hour, int minute) {
45 this.month = month;
63 jsonObject.put("month", month);
85 alarm.month = jsonObject.getInt("month");
100 ", month=" + month
    [all...]

Completed in 578 milliseconds

1 2 3 4 5 6 7 8 91011>>