Lines Matching refs:day
78 sal_Int32 day = (sal_Int32)fieldSetValue[CalendarFieldIndex::DAY_OF_MONTH]; in mapToGregorian() local
84 ToGregorian(&day, &month, &year); in mapToGregorian()
88 fieldSetValue[CalendarFieldIndex::DAY_OF_MONTH] = (sal_Int16) day; in mapToGregorian()
97 sal_Int32 month, day, year; in mapFromGregorian() local
99 day = (sal_Int32)fieldValue[CalendarFieldIndex::DAY_OF_MONTH]; in mapFromGregorian()
106 getHijri(&day, &month, &year); in mapFromGregorian()
108 fieldValue[CalendarFieldIndex::DAY_OF_MONTH] = (sal_Int16)day; in mapFromGregorian()
179 Calendar_hijri::getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year) in getHijri() argument
190 julday = getJulianDay(*day, *month, *year); in getHijri()
210 *day = (sal_Int32)(((sal_Int32)julday) - newjd + 0.5); in getHijri()
228 Calendar_hijri::ToGregorian(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year) in ToGregorian() argument
244 jday = NewMoon(nmonth) + *day; in ToGregorian()
250 getGregorianDay((sal_Int32)jday, day, month, year); in ToGregorian()
254 *day = -1; in ToGregorian()
305 Calendar_hijri::getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year) in getJulianDay() argument
313 if( year == 1582 && month == 10 && day > 4 && day < 15 ) { in getJulianDay()
325 …sal_Int32 intgr = (sal_Int32)((sal_Int32)(365.25 * jy) + (sal_Int32)(30.6001 * jm) + day + 1720995… in getJulianDay()
330 if( day + 31 * (month + 12 * year) >= gregcal ) { in getJulianDay()