Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

158      * Return the number of days in the given month.
160 * @param month 0-based month, with 0==Jan
161 * @return the number of days in the given month
163 static inline int8_t monthLength(int32_t year, int32_t month);
166 * Return the length of a previous month of the Gregorian calendar.
168 * @param m the 0-based month number
169 * @return the number of days in the month previous to the given month
174 * Convert a year, month, and day-of-month, given in the proleptic
177 * @param month 0-based month, with 0==Jan
178 * @param dom 1-based day of month
181 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
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)
193 static void dayToFields(double day, int32_t& year, int32_t& month,
198 * month, day-of-month, and day-of-week.
201 * @param month output parameter to receive month (0-based, 0==Jan)
202 * @param dom output parameter to receive day-of-month (1-based)
205 static inline void dayToFields(double day, int32_t& year, int32_t& month,
210 * month, day-of-month, and day-of-week, day of year and millis-in-day.
213 * @param month output parameter to receive month (0-based, 0==Jan)
214 * @param dom output parameter to receive day-of-month (1-based)
219 static void timeToFields(UDate time, int32_t& year, int32_t& month,
230 * Returns the ordinal number for the specified day of week within the month.
233 * @param month 0-based month, with 0==Jan
234 * @param dom 1-based day of month
235 * @return The ordinal number for the specified day of week within the month
237 static int32_t dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom);
277 Grego::monthLength(int32_t year, int32_t month) {
278 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
286 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month,
289 dayToFields(day,year,month,dom,dow,doy_unused);