Lines Matching refs:day
135 * Returns the Julian Day corresponding to gregorian date
139 * @param date The date in Gregorian day in month
157 * Returns the Gregorian Date corresponding to a given Julian Day
158 * @param jd The Julian Day
162 int32_t year, month, day;
182 day = (int32_t)(wjd - gregorianToJD(year, month, 1)) + 1;
186 gregorianDate[2] = day;
288 * calendar equivalents for the given Julian day.
293 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day;
296 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day
299 yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (starting from 0)
302 // Day is at the end of the preceding Saka year