![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
| class | GCedTreeNode |
| class | GCedTreeNodeMixin |
Enumerations | |
| enum class | ConversionStatus { kSuccess = 0 , kBadFormat , kBadDate } |
Functions | |
| double | FX_GetDateTime () |
| int | FX_GetYearFromTime (double dt) |
| int | FX_GetMonthFromTime (double dt) |
| int | FX_GetDayFromTime (double dt) |
| int | FX_GetHourFromTime (double dt) |
| int | FX_GetMinFromTime (double dt) |
| int | FX_GetSecFromTime (double dt) |
| bool | FX_IsValidMonth (int m) |
| bool | FX_IsValidDay (int d) |
| bool | FX_IsValid24Hour (int h) |
| bool | FX_IsValidMinute (int m) |
| bool | FX_IsValidSecond (int s) |
| double | FX_LocalTime (double d) |
| double | FX_MakeDay (int nYear, int nMonth, int nDay) |
| double | FX_MakeTime (int nHour, int nMin, int nSec, int nMs) |
| double | FX_MakeDate (double day, double time) |
| int | FX_ParseStringInteger (const WideString &str, size_t nStart, size_t *pSkip, size_t nMaxStep) |
| ConversionStatus | FX_ParseDateUsingFormat (const WideString &value, const WideString &format, double *result) |
Variables | |
| const std::array< const char *, 12 > | kMonths |
| const std::array< const char *, 12 > | kFullMonths |
| static constexpr size_t | KMonthAbbreviationLength = 3 |
| static constexpr size_t | kLongestFullMonthLength = 9 |
|
strong |
| Enumerator | |
|---|---|
| kSuccess | |
| kBadFormat | |
| kBadDate | |
Definition at line 18 of file fx_date_helpers.h.
| double fxjs::FX_GetDateTime | ( | ) |
Definition at line 184 of file fx_date_helpers.cpp.
References FXSYS_localtime(), FXSYS_time(), and IsPDFSandboxPolicyEnabled().
Referenced by FX_ParseDateUsingFormat(), and CJS_PublicMethods::ParseDate().
| int fxjs::FX_GetDayFromTime | ( | double | dt | ) |
Definition at line 203 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), and CJS_PublicMethods::PrintDateUsingFormat().
| int fxjs::FX_GetHourFromTime | ( | double | dt | ) |
Definition at line 207 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), and CJS_PublicMethods::PrintDateUsingFormat().
| int fxjs::FX_GetMinFromTime | ( | double | dt | ) |
Definition at line 211 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), and CJS_PublicMethods::PrintDateUsingFormat().
| int fxjs::FX_GetMonthFromTime | ( | double | dt | ) |
Definition at line 199 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), CJS_PublicMethods::PrintDateUsingFormat(), and TEST().
| int fxjs::FX_GetSecFromTime | ( | double | dt | ) |
Definition at line 215 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), and CJS_PublicMethods::PrintDateUsingFormat().
| int fxjs::FX_GetYearFromTime | ( | double | dt | ) |
Definition at line 195 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), CJS_PublicMethods::ParseDate(), CJS_PublicMethods::PrintDateUsingFormat(), and TEST().
| bool fxjs::FX_IsValid24Hour | ( | int | h | ) |
Definition at line 229 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat().
| bool fxjs::FX_IsValidDay | ( | int | d | ) |
Definition at line 224 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat().
| bool fxjs::FX_IsValidMinute | ( | int | m | ) |
Definition at line 233 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat().
| bool fxjs::FX_IsValidMonth | ( | int | m | ) |
Definition at line 219 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat().
| bool fxjs::FX_IsValidSecond | ( | int | s | ) |
Definition at line 237 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat().
| double fxjs::FX_LocalTime | ( | double | d | ) |
Definition at line 241 of file fx_date_helpers.cpp.
Referenced by JS_DateParse().
| double fxjs::FX_MakeDate | ( | double | day, |
| double | time ) |
Definition at line 266 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), and CJS_PublicMethods::ParseDateAsGMT().
| double fxjs::FX_MakeDay | ( | int | nYear, |
| int | nMonth, | ||
| int | nDay ) |
Definition at line 245 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), and CJS_PublicMethods::ParseDateAsGMT().
| double fxjs::FX_MakeTime | ( | int | nHour, |
| int | nMin, | ||
| int | nSec, | ||
| int | nMs ) |
Definition at line 258 of file fx_date_helpers.cpp.
Referenced by FX_ParseDateUsingFormat(), and CJS_PublicMethods::ParseDateAsGMT().
| ConversionStatus fxjs::FX_ParseDateUsingFormat | ( | const WideString & | value, |
| const WideString & | format, | ||
| double * | result ) |
Definition at line 297 of file fx_date_helpers.cpp.
References fxcrt::WideString::EqualsASCIINoCase(), fxcrt::WideString::FromASCII(), FX_GetDateTime(), FX_GetDayFromTime(), FX_GetHourFromTime(), FX_GetMinFromTime(), FX_GetMonthFromTime(), FX_GetSecFromTime(), FX_GetYearFromTime(), FX_IsValid24Hour(), FX_IsValidDay(), FX_IsValidMinute(), FX_IsValidMonth(), FX_IsValidSecond(), FX_MakeDate(), FX_MakeDay(), FX_MakeTime(), kBadDate, kBadFormat, kSuccess, and fxcrt::WideString::MakeLower().
Referenced by CJS_PublicMethods::ParseDateUsingFormat(), TEST_F(), and TEST_F().
| int fxjs::FX_ParseStringInteger | ( | const WideString & | str, |
| size_t | nStart, | ||
| size_t * | pSkip, | ||
| size_t | nMaxStep ) |
Definition at line 273 of file fx_date_helpers.cpp.
References FXSYS_DecimalCharToInt(), and FXSYS_IsDecimalDigit().
| const std::array< const char *, 12 > fxjs::kFullMonths |
Definition at line 177 of file fx_date_helpers.cpp.
|
staticconstexpr |
Definition at line 182 of file fx_date_helpers.cpp.
|
staticconstexpr |
Definition at line 181 of file fx_date_helpers.cpp.
| const std::array< const char *, 12 > fxjs::kMonths |
Definition at line 173 of file fx_date_helpers.cpp.
Referenced by CJS_PublicMethods::ParseDateAsGMT().