Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

145      * Return the number of days in the given month.
147 * @param month 0-based month, with 0==Jan
148 * @return the number of days in the given month
150 static inline int8_t monthLength(int32_t year, int32_t month);
153 * Return the length of a previous month of the Gregorian calendar.
155 * @param m the 0-based month number
156 * @return the number of days in the month previous to the given month
161 * Convert a year, month, and day-of-month, given in the proleptic
164 * @param month 0-based month, with 0==Jan
165 * @param dom 1-based day of month
168 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
172 * month, day-of-month, and day-of-week.
175 * @param month output parameter to receive month (0-based, 0==Jan)
176 * @param dom output parameter to receive day-of-month (1-based)
180 static void dayToFields(double day, int32_t& year, int32_t& month,
185 * month, day-of-month, and day-of-week.
188 * @param month output parameter to receive month (0-based, 0==Jan)
189 * @param dom output parameter to receive day-of-month (1-based)
192 static inline void dayToFields(double day, int32_t& year, int32_t& month,
197 * month, day-of-month, and day-of-week, day of year and millis-in-day.
200 * @param month output parameter to receive month (0-based, 0==Jan)
201 * @param dom output parameter to receive day-of-month (1-based)
206 static void timeToFields(UDate time, int32_t& year, int32_t& month,
217 * Returns the ordinal number for the specified day of week within the month.
220 * @param month 0-based month, with 0==Jan
221 * @param dom 1-based day of month
222 * @return The ordinal number for the specified day of week within the month
224 static int32_t dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom);
264 Grego::monthLength(int32_t year, int32_t month) {
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month,
276 dayToFields(day,year,month,dom,dow,doy_unused);