Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_date_helpers.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include "fxjs/fx_date_helpers.h"
#include <math.h>
#include <time.h>
#include <wctype.h>
#include <iterator>
#include "build/build_config.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/fx_system.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
+ Include dependency graph for fx_date_helpers.cpp:

Go to the source code of this file.

Namespaces

namespace  fxjs
 

Functions

double fxjs::FX_GetDateTime ()
 
int fxjs::FX_GetYearFromTime (double dt)
 
int fxjs::FX_GetMonthFromTime (double dt)
 
int fxjs::FX_GetDayFromTime (double dt)
 
int fxjs::FX_GetHourFromTime (double dt)
 
int fxjs::FX_GetMinFromTime (double dt)
 
int fxjs::FX_GetSecFromTime (double dt)
 
bool fxjs::FX_IsValidMonth (int m)
 
bool fxjs::FX_IsValidDay (int d)
 
bool fxjs::FX_IsValid24Hour (int h)
 
bool fxjs::FX_IsValidMinute (int m)
 
bool fxjs::FX_IsValidSecond (int s)
 
double fxjs::FX_LocalTime (double d)
 
double fxjs::FX_MakeDay (int nYear, int nMonth, int nDay)
 
double fxjs::FX_MakeTime (int nHour, int nMin, int nSec, int nMs)
 
double fxjs::FX_MakeDate (double day, double time)
 
int fxjs::FX_ParseStringInteger (const WideString &str, size_t nStart, size_t *pSkip, size_t nMaxStep)
 
ConversionStatus fxjs::FX_ParseDateUsingFormat (const WideString &value, const WideString &format, double *result)
 

Variables

static constexpr size_t fxjs::KMonthAbbreviationLength = 3
 
static constexpr size_t fxjs::kLongestFullMonthLength = 9