From dbb5345b16ea0c959a91e261ab3b510e08a7bd21 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 8 Oct 2014 14:12:54 +0200 Subject: back out wrong and confusing tools::Time comment change Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script to change all ... Change-Id: I0a8171aa474070bb1a8584e5c8c714fe34694618 --- i18npool/source/calendar/calendar_gregorian.cxx | 2 +- i18npool/source/calendar/calendar_hijri.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'i18npool') diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index c09432dca484..ee9084433462 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -646,7 +646,7 @@ void Calendar_gregorian::setValue() throw(RuntimeException) DUMP_ICU_CAL_MSG(("%s\n","setValue() after Zone/DST glitch resubmit")); DUMP_I18N_CAL_MSG(("%s\n","setValue() after Zone/DST glitch resubmit")); - // tools::Time zone transition => resubmit. + // Time zone transition => resubmit. // TZ=America/St_Johns date <= 1935-03-30 // -3:30:52 (!) instead of -3:30 // if first submission included time zone -3:30 that would be wrong. diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index b1381d8c7efd..a0200417fa39 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; // tools::Time in Julian centuries from 1900 January 0.5 + t = k/1236.85; // 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 tools::Time (ET) to (approximate) Universal tools::Time (UT) + // convert from Ephemeris Time (ET) to (approximate) Universal Time (UT) jd += xtra - (0.41 + 1.2053 * t + 0.4992 * t2)/1440; return (jd); -- cgit