Home | History | Annotate | Download | only in util

Lines Matching refs:month

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.
128 * Constant for Pausa, the 10th month of the Indian year.
134 * Constant for Magha, the 11th month of the Indian year.
140 * Constant for Phalguna, the 12th month of the Indian year.
249 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
256 public IndianCalendar(int year, int month, int date) {
259 this.set(Calendar.MONTH, month);
270 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
283 public IndianCalendar(int year, int month, int date, int hour,
288 this.set(Calendar.MONTH, month);
337 protected int handleGetMonthLength(int extendedYear, int month) {
338 if (month < 0 || month > 11) {
340 extendedYear += floorDivide(month, 12, remainder);
341 month = remainder[0];
344 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) {
348 if(month >= 1 && month <=5) {
397 internalSet(MONTH, IndianMonth);
407 { 0, 0, 11, 11}, // MONTH
442 protected int handleComputeMonthStart(int year, int month, boolean useMonth) {
444 //month is 0 based; converting it to 1-based
447 // If the month is out of range, adjust it into range, and adjust the extended year accordingly
448 if (month < 0 || month > 11) {
449 year += month / 12;
450 month %= 12;
453 imonth = month + 1;
465 * @param month The month according to Indian calendar (between 1 to 12)
466 * @param date The date in month
468 private static double IndianToJD(int year, int month, int date) {
483 if (month == 1) {
487 m = month - 2;
490 if (month >= 8) {
491 m = month - 7;
504 * @param month The month according to Gregorian calendar (between 0 to 11)
505 * @param date The date in month
507 private static double gregorianToJD(int year, int month, int date) {
514 + (((367 * month) - 362) / 12)
515 + ((month <= 2) ? 0 : (isGregorianLeap(year) ? -1 : -2))
528 int year, month, day;
551 month = (int)Math.floor((((yearday + leapadj) * 12) + 373) / 367);
552 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1;
557 julianDate[1] = month;