summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/DateMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/DateMath.h')
-rw-r--r--JavaScriptCore/wtf/DateMath.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/DateMath.h b/JavaScriptCore/wtf/DateMath.h
index 033d25e..be51947 100644
--- a/JavaScriptCore/wtf/DateMath.h
+++ b/JavaScriptCore/wtf/DateMath.h
@@ -53,7 +53,8 @@ namespace WTF {
void initializeDates();
int equivalentYearForDST(int year);
-// Not really math related, but this is currently the only shared place to put these.
+// Not really math related, but this is currently the only shared place to put these.
+double parseES5DateFromNullTerminatedCharacters(const char* dateString);
double parseDateFromNullTerminatedCharacters(const char* dateString);
double timeClip(double);
@@ -94,6 +95,7 @@ using WTF::msPerDay;
using WTF::msPerSecond;
using WTF::msToYear;
using WTF::secondsPerMinute;
+using WTF::parseDateFromNullTerminatedCharacters;
#if USE(JSC)
namespace JSC {