summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_formcalc_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.h')
-rw-r--r--fxjs/cfxjse_formcalc_context.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/fxjs/cfxjse_formcalc_context.h b/fxjs/cfxjse_formcalc_context.h
index 8a92d9b0f1..f60560315e 100644
--- a/fxjs/cfxjse_formcalc_context.h
+++ b/fxjs/cfxjse_formcalc_context.h
@@ -98,31 +98,6 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject {
const ByteStringView& szFuncName,
CFXJSE_Arguments& args);
- static bool IsIsoDateFormat(const char* pData,
- int32_t iLength,
- int32_t& iStyle,
- int32_t& iYear,
- int32_t& iMonth,
- int32_t& iDay);
- static bool IsIsoTimeFormat(const char* pData,
- int32_t iLength,
- int32_t& iHour,
- int32_t& iMinute,
- int32_t& iSecond,
- int32_t& iMilliSecond,
- int32_t& iZoneHour,
- int32_t& iZoneMinute);
- static bool IsIsoDateTimeFormat(const char* pData,
- int32_t iLength,
- int32_t& iYear,
- int32_t& iMonth,
- int32_t& iDay,
- int32_t& iHour,
- int32_t& iMinute,
- int32_t& iSecond,
- int32_t& iMillionSecond,
- int32_t& iZoneHour,
- int32_t& iZoneMinute);
static ByteString Local2IsoDate(CFXJSE_Value* pThis,
const ByteStringView& szDate,
const ByteStringView& szFormat,
@@ -135,7 +110,6 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject {
const ByteStringView& szTime,
const ByteStringView& szFormat,
const ByteStringView& szLocale);
- static int32_t DateString2Num(const ByteStringView& szDateString);
static ByteString GetLocalDateFormat(CFXJSE_Value* pThis,
int32_t iStyle,
const ByteStringView& szLocalStr,
@@ -155,7 +129,6 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject {
const ByteStringView& szFormat,
const ByteStringView& szLocale,
bool bGM);
- static void GetLocalTimeZone(int32_t& iHour, int32_t& iMin, int32_t& iSec);
static void Apr(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,
@@ -227,17 +200,9 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject {
static void Decode(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,
CFXJSE_Arguments& args);
- static WideString DecodeURL(const WideString& wsURLString);
- static WideString DecodeHTML(const WideString& wsHTMLString);
- static WideString DecodeXML(const WideString& wsXMLString);
static void Encode(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,
CFXJSE_Arguments& args);
- static WideString EncodeURL(const ByteString& szURLString);
- static WideString EncodeHTML(const ByteString& szHTMLString);
- static WideString EncodeXML(const ByteString& szXMLString);
- static bool HTMLSTR2Code(const WideStringView& pData, uint32_t* iCode);
- static bool HTMLCode2STR(uint32_t iCode, WideString* wsHTMLReserve);
static void Format(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,
CFXJSE_Arguments& args);
@@ -286,8 +251,6 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject {
static void WordNum(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,
CFXJSE_Arguments& args);
- static ByteString TrillionUS(const ByteStringView& szData);
- static ByteString WordUS(const ByteString& szData, int32_t iStyle);
static void Get(CFXJSE_Value* pThis,
const ByteStringView& szFuncName,