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.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <stddef.h>
#include "core/fxcrt/widestring.h"
+ Include dependency graph for fx_date_helpers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fxjs
 

Enumerations

enum class  fxjs::ConversionStatus { fxjs::kSuccess = 0 , fxjs::kBadFormat , fxjs::kBadDate }
 

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

const wchar_t *const fxjs::kMonths [12]
 
const wchar_t *const fxjs::kFullMonths [12]