Lines Matching defs:day

100 #define kEarliestViableMillis  -185331720384000000.0  // minimum representable by julian day  -1e17
102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17
105 * The minimum supported Julian day. This value is equivalent to
117 * The maximum supported Julian day. This value is equivalent to
161 * Convert a year, month, and day-of-month, given in the proleptic
165 * @param dom 1-based day of month
166 * @return the day number, with day 0 == Jan 1 1970
171 * Convert a 1970-epoch day number to proleptic Gregorian year,
172 * month, day-of-month, and day-of-week.
173 * @param day 1970-epoch day (integral value)
176 * @param dom output parameter to receive day-of-month (1-based)
177 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
178 * @param doy output parameter to receive day-of-year (1-based)
180 static void dayToFields(double day, int32_t& year, int32_t& month,
184 * Convert a 1970-epoch day number to proleptic Gregorian year,
185 * month, day-of-month, and day-of-week.
186 * @param day 1970-epoch day (integral value)
189 * @param dom output parameter to receive day-of-month (1-based)
190 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
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.
201 * @param dom output parameter to receive day-of-month (1-based)
202 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
203 * @param doy output parameter to receive day-of-year (1-based)
204 * @param mid output parameter to recieve millis-in-day
210 * Return the day of week on the 1970-epoch day
211 * @param day the 1970-epoch day (integral value)
212 * @return the day of week
214 static int32_t dayOfWeek(double day);
217 * Returns the ordinal number for the specified day of week within the month.
221 * @param dom 1-based day of month
222 * @return The ordinal number for the specified day of week within the month
227 * Converts Julian day to time as milliseconds.
228 * @param julian the given Julian day number.
235 * Converts time as milliseconds to Julian day.
237 * @return the Julian day number.
243 * Calculates the Gregorian day shift value for an extended year.
273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month,
276 dayToFields(day,year,month,dom,dow,doy_unused);