CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUIDateTime.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
22
24
25#include "FxUIDate.h"
26#include "FxUITime.h"
27#include "FxUIGlobalDefines.h"
28
29class CFxUIDateTimeImpl;
30class QDateTime;
31
33{
34public:
42
50
53
56
58 CFxUIDateTime( const CFxUIDateTime& dateTime );
59 CFxUIDateTime( const QDateTime& dateTime );
60
63
66 operator const QDateTime&() const;
67
75 static CFxUIDateTime fromMSecsSinceEpoch( long long msecs );
76
83
94
101
108
115
116protected:
117 CFxUIDateTimeImpl* m_pImpl = nullptr;
118};
#define COMMONUI_API
CFxString CFxUIString
CFxUIDateTimeImpl * m_pImpl
CFxUITime time() const
CFxUIDateTime & operator=(const CFxUIDateTime &dateTime)
static CFxUIDateTime fromMSecsSinceEpoch(long long msecs)
CFxUIDateTime(CFxUIDate date, CFxUITime time, FxUITimeSpec timespec)
static CFxUIDateTime fromString(const CFxUIString &string, FxUIDateFormat format=TextDate)
CFxUIDate date() const
CFxUIDateTime(const CFxUIDateTime &dateTime)
static CFxUIDateTime currentDateTime()
CFxUIString toString() const
CFxUIDateTime(const QDateTime &dateTime)
GLint GLint GLint GLsizei GLsizei GLenum format
Definition gles2_ext.h:111