#include "oct-time.h"
Public Member Functions | |
base_tm (const base_tm &tm) | |
base_tm (void) | |
virtual | ~base_tm (void)=default |
std::string | asctime (void) const |
OCTAVE_API base_tm & | gmtoff (long v) |
long | gmtoff (void) const |
OCTAVE_API base_tm & | hour (int v) |
int | hour (void) const |
OCTAVE_API base_tm & | isdst (int v) |
int | isdst (void) const |
OCTAVE_API base_tm & | mday (int v) |
int | mday (void) const |
OCTAVE_API base_tm & | min (int v) |
int | min (void) const |
OCTAVE_API base_tm & | mon (int v) |
int | mon (void) const |
base_tm & | operator= (const base_tm &tm) |
OCTAVE_API base_tm & | sec (int v) |
int | sec (void) const |
OCTAVE_API std::string | strftime (const std::string &fmt) const |
OCTAVE_API base_tm & | usec (int v) |
int | usec (void) const |
OCTAVE_API base_tm & | wday (int v) |
int | wday (void) const |
OCTAVE_API base_tm & | yday (int v) |
int | yday (void) const |
OCTAVE_API base_tm & | year (int v) |
int | year (void) const |
OCTAVE_API base_tm & | zone (const std::string &s) |
std::string | zone (void) const |
Protected Member Functions | |
OCTAVE_API void | init (void *p) |
Protected Attributes | |
long | m_gmtoff |
int | m_hour |
int | m_isdst |
int | m_mday |
int | m_min |
int | m_mon |
int | m_sec |
int | m_usec |
int | m_wday |
int | m_yday |
int | m_year |
std::string | m_zone |
Definition at line 184 of file oct-time.h.
|
inline |
Definition at line 189 of file oct-time.h.
|
inline |
Definition at line 195 of file oct-time.h.
|
virtualdefault |
|
inline |
base_tm & base_tm::gmtoff | ( | long | v | ) |
Definition at line 157 of file oct-time.cc.
|
inline |
base_tm & base_tm::hour | ( | int | v | ) |
Definition at line 149 of file oct-time.cc.
|
inline |
|
protected |
Definition at line 229 of file oct-time.cc.
References m_gmtoff, m_hour, m_isdst, m_mday, m_min, m_mon, m_sec, m_wday, m_yday, m_year, m_zone, and u8_from_wstring().
Referenced by gmtime::gmtime(), localtime::localtime(), strptime::strptime(), strptime::init(), localtime::init(), and gmtime::init().
base_tm & base_tm::isdst | ( | int | v | ) |
Definition at line 156 of file oct-time.cc.
|
inline |
base_tm & base_tm::mday | ( | int | v | ) |
Definition at line 150 of file oct-time.cc.
|
inline |
base_tm & base_tm::min | ( | int | v | ) |
Definition at line 148 of file oct-time.cc.
|
inline |
base_tm & base_tm::mon | ( | int | v | ) |
Definition at line 151 of file oct-time.cc.
|
inline |
Definition at line 202 of file oct-time.h.
References m_gmtoff, m_hour, m_isdst, m_mday, m_min, m_mon, m_sec, m_usec, m_wday, m_yday, m_year, and m_zone.
Referenced by gmtime::operator=(), localtime::operator=(), and strptime::operator=().
base_tm & base_tm::sec | ( | int | v | ) |
Definition at line 147 of file oct-time.cc.
|
inline |
std::string base_tm::strftime | ( | const std::string & | fmt | ) | const |
base_tm & base_tm::usec | ( | int | v | ) |
Definition at line 146 of file oct-time.cc.
|
inline |
base_tm & base_tm::wday | ( | int | v | ) |
Definition at line 154 of file oct-time.cc.
|
inline |
base_tm & base_tm::yday | ( | int | v | ) |
Definition at line 155 of file oct-time.cc.
|
inline |
base_tm & base_tm::year | ( | int | v | ) |
Definition at line 153 of file oct-time.cc.
|
inline |
base_tm & base_tm::zone | ( | const std::string & | s | ) |
Definition at line 160 of file oct-time.cc.
|
inline |
|
protected |
Definition at line 289 of file oct-time.h.
Referenced by gmtoff(), init(), operator=(), and strftime().
|
protected |
Definition at line 268 of file oct-time.h.
Referenced by hour(), init(), operator=(), and strftime().
|
protected |
Definition at line 286 of file oct-time.h.
Referenced by init(), isdst(), operator=(), and strftime().
|
protected |
Definition at line 271 of file oct-time.h.
Referenced by init(), mday(), operator=(), and strftime().
|
protected |
Definition at line 265 of file oct-time.h.
Referenced by init(), min(), operator=(), and strftime().
|
protected |
Definition at line 274 of file oct-time.h.
Referenced by init(), mon(), operator=(), and strftime().
|
protected |
Definition at line 262 of file oct-time.h.
Referenced by init(), operator=(), sec(), and strftime().
|
protected |
Definition at line 259 of file oct-time.h.
Referenced by localtime::init(), gmtime::init(), operator=(), and usec().
|
protected |
Definition at line 280 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and wday().
|
protected |
Definition at line 283 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and yday().
|
protected |
Definition at line 277 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and year().
|
protected |
Definition at line 292 of file oct-time.h.
Referenced by init(), operator=(), strftime(), and zone().