Home | History | Annotate | Download | only in util

Lines Matching refs:month

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,
162 this.set(year, month, date, hour, minute, second);
178 * Return JD of start of given month/extended year
197 * Return the number of days in the given month of the given extended
202 protected int handleGetMonthLength(int extendedYear, int month)
206 // an intercalary month at the end of the year of 5 or 6 days, depending whether
208 // Julian Calendar so that the extra month always has six days in the year before
210 if ((month + 1) % 13 != 0)
212 // not intercalary month
217 // intercalary month 5 days + possible leap day
229 * Convert an Coptic/Ethiopic year, month and day to a Julian day
231 * @param month the month
236 public static int ceToJD(long year, int month, int day, int jdEpochOffset) {
242 // handle month > 12, < 0 (e.g. from add/set)
243 if ( month >= 0 ) {
244 year += month/13;
245 month %= 13;
247 ++month;
248 year += month/13 - 1;
249 month = month%13 + 12;
255 + 30 * month // number of days from months (months are 0-based)
256 + day - 1 // number of days for present month (1 based)
261 * Convert a Julian day to an Coptic/Ethiopic year, month and day
275 // month
276 fields[1] = doy / 30; // 30 -> Coptic/Ethiopic month length up to 12th month
278 fields[2] = (doy % 30) + 1; // 1-based days in a month