#include "oct-time.h"
Public Member Functions | |
base_tm (void) | |
base_tm (const base_tm &tm) | |
virtual | ~base_tm (void)=default |
std::string | asctime (void) const |
long | gmtoff (void) const |
base_tm & | gmtoff (long v) |
int | hour (void) const |
base_tm & | hour (int v) |
int | isdst (void) const |
base_tm & | isdst (int v) |
int | mday (void) const |
base_tm & | mday (int v) |
int | min (void) const |
base_tm & | min (int v) |
int | mon (void) const |
base_tm & | mon (int v) |
base_tm & | operator= (const base_tm &tm) |
int | sec (void) const |
base_tm & | sec (int v) |
std::string | strftime (const std::string &fmt) const |
int | usec (void) const |
base_tm & | usec (int v) |
int | wday (void) const |
base_tm & | wday (int v) |
int | yday (void) const |
base_tm & | yday (int v) |
int | year (void) const |
base_tm & | year (int v) |
std::string | zone (void) const |
base_tm & | zone (const std::string &s) |
Protected Member Functions | |
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 190 of file oct-time.h.
|
inline |
Definition at line 196 of file oct-time.h.
|
virtualdefault |
|
inline |
Definition at line 254 of file oct-time.h.
Referenced by octave::sys::time::ctime().
|
inline |
Definition at line 236 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::gmtoff | ( | long | v | ) |
Definition at line 147 of file oct-time.cc.
|
inline |
Definition at line 229 of file oct-time.h.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::hour | ( | int | v | ) |
Definition at line 139 of file oct-time.cc.
|
protected |
Definition at line 219 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, p, struct(), and t.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), and octave::sys::strptime::init().
|
inline |
Definition at line 235 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::isdst | ( | int | v | ) |
Definition at line 146 of file oct-time.cc.
|
inline |
Definition at line 230 of file oct-time.h.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::mday | ( | int | v | ) |
Definition at line 140 of file oct-time.cc.
|
inline |
Definition at line 228 of file oct-time.h.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::min | ( | int | v | ) |
Definition at line 138 of file oct-time.cc.
|
inline |
Definition at line 231 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::mon | ( | int | v | ) |
Definition at line 141 of file oct-time.cc.
Definition at line 203 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 octave::sys::localtime::operator=(), octave::sys::gmtime::operator=(), and octave::sys::strptime::operator=().
|
inline |
Definition at line 227 of file oct-time.h.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::sec | ( | int | v | ) |
Definition at line 137 of file oct-time.cc.
std::string octave::sys::base_tm::strftime | ( | const std::string & | fmt | ) | const |
|
inline |
Definition at line 226 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::usec | ( | int | v | ) |
Definition at line 136 of file oct-time.cc.
|
inline |
Definition at line 233 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::wday | ( | int | v | ) |
Definition at line 144 of file oct-time.cc.
|
inline |
Definition at line 234 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::yday | ( | int | v | ) |
Definition at line 145 of file oct-time.cc.
|
inline |
Definition at line 232 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::year | ( | int | v | ) |
Definition at line 143 of file oct-time.cc.
|
inline |
Definition at line 237 of file oct-time.h.
Referenced by extract_tm(), and octave::sys::time::time().
base_tm & octave::sys::base_tm::zone | ( | const std::string & | s | ) |
Definition at line 150 of file oct-time.cc.
References s.
|
protected |
Definition at line 290 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 269 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 287 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 272 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 266 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 275 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 263 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 260 of file oct-time.h.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), and operator=().
|
protected |
Definition at line 281 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 284 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 278 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 293 of file oct-time.h.
Referenced by init(), operator=(), and strftime().