Searched refs:julianDay (Results 1 - 2 of 2) sorted by relevance

/haiku/src/kits/support/
H A DDateTime.cpp1076 Converts the passed \c julianDay to an BDate. If the \c julianDay is negativ,
1081 BDate::JulianDayToDate(int32 julianDay) argument
1085 if (julianDay >= kGregorianCalendarStart) {
1087 int32 j = julianDay + 32044;
1099 } else if (julianDay >= 0) {
1101 julianDay += 32082;
1102 int32 d = (4 * julianDay + 3) / 1461;
1103 int32 e = julianDay - (1461 * d) / 4;
/haiku/headers/os/support/
H A DDateTime.h151 static BDate JulianDayToDate(int32 julianDay);

Completed in 36 milliseconds