diff options
Diffstat (limited to 'i18npool/source/calendar/calendar_hijri.cxx')
-rw-r--r-- | i18npool/source/calendar/calendar_hijri.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index a0200417fa39..b1381d8c7efd 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -115,7 +115,7 @@ Calendar_hijri::NewMoon(sal_Int32 n) { double jd, t, t2, t3, k, ma, sa, tf, xtra; k = n; - t = k/1236.85; // Time in Julian centuries from 1900 January 0.5 + t = k/1236.85; // tools::Time in Julian centuries from 1900 January 0.5 t2 = t * t; t3 = t2 * t; @@ -160,7 +160,7 @@ Calendar_hijri::NewMoon(sal_Int32 n) + 0.0010 * sin(tf - ma) + 0.0005 * sin(sa + 2 * ma); - // convert from Ephemeris Time (ET) to (approximate) Universal Time (UT) + // convert from Ephemeris tools::Time (ET) to (approximate) Universal tools::Time (UT) jd += xtra - (0.41 + 1.2053 * t + 0.4992 * t2)/1440; return (jd); |