本地日期时间。L意思'local',不包含时区信息
更多...
#include <time.hpp>
本地日期时间。L意思'local',不包含时区信息
在文件 time.hpp 第 10 行定义.
winux::DateTimeL::DateTimeL |
( |
| ) |
|
winux::DateTimeL::DateTimeL |
( |
short |
year, |
|
|
short |
month, |
|
|
short |
day, |
|
|
short |
hour, |
|
|
short |
minute, |
|
|
short |
second, |
|
|
short |
millisec = 0 |
|
) |
| |
winux::DateTimeL::DateTimeL |
( |
Second const & |
utcSecond | ) |
|
winux::DateTimeL::DateTimeL |
( |
MilliSec const & |
utcMillisec | ) |
|
winux::DateTimeL::DateTimeL |
( |
String const & |
dateTimeStr | ) |
|
构造函数 格式 xxxx-xx-xxTyy:yy:yy.zzz
DateTimeL& winux::DateTimeL::fromTm |
( |
struct tm const * |
t | ) |
|
short winux::DateTimeL::getDay |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getDayOfWeek |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getDayOfYear |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getHour |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getMillisec |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getMinute |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getMonth |
( |
| ) |
const |
|
inline |
short winux::DateTimeL::getSecond |
( |
| ) |
const |
|
inline |
static ulong winux::DateTimeL::GetSecondsFromDays |
( |
int |
days | ) |
|
|
inlinestatic |
static ulong winux::DateTimeL::GetSecondsFromHours |
( |
int |
hours | ) |
|
|
inlinestatic |
static ulong winux::DateTimeL::GetSecondsFromMinutes |
( |
int |
minutes | ) |
|
|
inlinestatic |
static ulong winux::DateTimeL::GetSecondsFromWeeks |
( |
int |
weeks | ) |
|
|
inlinestatic |
short winux::DateTimeL::getYear |
( |
| ) |
const |
|
inline |
void winux::DateTimeL::setDay |
( |
short |
day | ) |
|
|
inline |
void winux::DateTimeL::setHour |
( |
short |
hour | ) |
|
|
inline |
void winux::DateTimeL::setMillisec |
( |
short |
millisec | ) |
|
|
inline |
void winux::DateTimeL::setMinute |
( |
short |
minute | ) |
|
|
inline |
void winux::DateTimeL::setMonth |
( |
short |
month | ) |
|
|
inline |
void winux::DateTimeL::setSecond |
( |
short |
second | ) |
|
|
inline |
void winux::DateTimeL::setYear |
( |
short |
year | ) |
|
|
inline |
String winux::DateTimeL::toString |
( |
| ) |
const |
time_t winux::DateTimeL::toUtcTime |
( |
| ) |
const |
uint64 winux::DateTimeL::toUtcTimeMs |
( |
| ) |
const |
该类的文档由以下文件生成: