summaryrefslogtreecommitdiff
path: root/fxjs/cjs_publicmethods.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_publicmethods.h')
-rw-r--r--fxjs/cjs_publicmethods.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/fxjs/cjs_publicmethods.h b/fxjs/cjs_publicmethods.h
index 975ba6e9d4..0b72fb3e0a 100644
--- a/fxjs/cjs_publicmethods.h
+++ b/fxjs/cjs_publicmethods.h
@@ -18,12 +18,13 @@ class CJS_PublicMethods final : public CJS_Object {
~CJS_PublicMethods() override;
static void DefineJSObjects(CFXJS_Engine* pEngine);
- static double MakeRegularDate(const WideString& value,
- const WideString& format,
- bool* bWrongFormat);
+ static double ParseDateUsingFormat(const WideString& value,
+ const WideString& format,
+ bool* bWrongFormat);
// Exposed for testing.
- static WideString MakeFormatDate(double dDate, const WideString& format);
+ static WideString PrintDateUsingFormat(double dDate,
+ const WideString& format);
static bool IsNumber(const WideString& str);
static CJS_Result AFNumber_Format(