Index: Source/wtf/DateMath.h |
diff --git a/Source/wtf/DateMath.h b/Source/wtf/DateMath.h |
index a388c35fe112f9a4f5fd9762e8d698cc0e13fe11..b23e99223d4417706015165d3516e40b871700f8 100644 |
--- a/Source/wtf/DateMath.h |
+++ b/Source/wtf/DateMath.h |
@@ -78,9 +78,8 @@ WTF_EXPORT int dayInYear(double ms, int year); |
WTF_EXPORT int monthFromDayInYear(int dayInYear, bool leapYear); |
WTF_EXPORT int dayInMonthFromDayInYear(int dayInYear, bool leapYear); |
-// Returns offset milliseconds for UTC and DST. |
-WTF_EXPORT int32_t calculateUTCOffset(); |
-WTF_EXPORT double calculateDSTOffset(double ms, double utcOffset); |
+// Returns milliseconds with UTC and DST. |
+WTF_EXPORT double convertToLocalTime(double ms); |
} // namespace WTF |
@@ -98,7 +97,6 @@ using WTF::msToYear; |
using WTF::secondsPerMinute; |
using WTF::parseDateFromNullTerminatedCharacters; |
using WTF::makeRFC2822DateString; |
-using WTF::calculateUTCOffset; |
-using WTF::calculateDSTOffset; |
+using WTF::convertToLocalTime; |
#endif // DateMath_h |