Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

62     {        0,        0,       11,       11}, // MONTH
106 * Return the length (in days) of the given month.
109 * @param month The month(0-based) in Indian calendar
111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const {
112 if (month < 0 || month > 11) {
113 eyear += ClockMath::floorDivide(month, 12, month);
116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) {
120 if (month >= 1 && month <= 5) {
139 * @param month The month in Gregorian Year
140 * @param date The date in Gregorian day in month
142 static double gregorianToJD(int32_t year, int32_t month, int32_t date) {
148 uprv_floor((((367 * month) - 362) / 12) +
149 ((month <= 2) ? 0 :
163 int32_t year, month, day;
182 month = (int32_t)uprv_floor((((yearday + leapadj) * 12) + 373) / 367);
183 day = (int32_t)(wjd - gregorianToJD(year, month, 1)) + 1;
186 gregorianDate[1] = month;
196 static double IndianToJD(int32_t year, int32_t month, int32_t date) {
212 if (month == 1) {
216 m = month - 2;
225 if (month >= 8) {
226 m = month - 7;
236 * Return JD of start of given month/year of Indian Calendar
238 * @param month The month in Indian calendar
240 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ ) const {
242 //month is 0 based; converting it to 1-based
245 // If the month is out of range, adjust it into range, and adjust the extended eyar accordingly
246 if (month < 0 || month > 11) {
247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
250 if(month == 12){
253 imonth = month + 1;
283 * <li>MONTH