#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 |
base_tm & | gmtoff (long v) |
long | gmtoff (void) const |
base_tm & | hour (int v) |
int | hour (void) const |
base_tm & | isdst (int v) |
int | isdst (void) const |
base_tm & | mday (int v) |
int | mday (void) const |
base_tm & | min (int v) |
int | min (void) const |
base_tm & | mon (int v) |
int | mon (void) const |
base_tm & | operator= (const base_tm &tm) |
base_tm & | sec (int v) |
int | sec (void) const |
std::string | strftime (const std::string &fmt) const |
base_tm & | usec (int v) |
int | usec (void) const |
base_tm & | wday (int v) |
int | wday (void) const |
base_tm & | yday (int v) |
int | yday (void) const |
base_tm & | year (int v) |
int | year (void) const |
base_tm & | zone (const std::string &s) |
std::string | zone (void) const |
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 187 of file oct-time.h.
|
inline |
Definition at line 193 of file oct-time.h.
|
inline |
Definition at line 199 of file oct-time.h.
|
virtualdefault |
|
inline |
Definition at line 257 of file oct-time.h.
Referenced by octave::sys::time::ctime().
base_tm & octave::sys::base_tm::gmtoff | ( | long | v | ) |
Definition at line 150 of file oct-time.cc.
|
inline |
Definition at line 239 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::hour | ( | int | v | ) |
Definition at line 142 of file oct-time.cc.
|
inline |
Definition at line 232 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), octave::rand::initialize_ranlib_generators(), and mk_tm_map().
|
protected |
Definition at line 222 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, and m_zone.
Referenced by octave::sys::strptime::init(), octave::sys::localtime::init(), and octave::sys::gmtime::init().
base_tm & octave::sys::base_tm::isdst | ( | int | v | ) |
Definition at line 149 of file oct-time.cc.
|
inline |
Definition at line 238 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::mday | ( | int | v | ) |
Definition at line 143 of file oct-time.cc.
|
inline |
Definition at line 233 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), octave::rand::initialize_ranlib_generators(), and mk_tm_map().
base_tm & octave::sys::base_tm::min | ( | int | v | ) |
Definition at line 141 of file oct-time.cc.
|
inline |
Definition at line 231 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), octave::rand::initialize_ranlib_generators(), and mk_tm_map().
base_tm & octave::sys::base_tm::mon | ( | int | v | ) |
Definition at line 144 of file oct-time.cc.
|
inline |
Definition at line 234 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
Definition at line 206 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::gmtime::operator=(), octave::sys::localtime::operator=(), and octave::sys::strptime::operator=().
base_tm & octave::sys::base_tm::sec | ( | int | v | ) |
Definition at line 140 of file oct-time.cc.
|
inline |
Definition at line 230 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), octave::rand::initialize_ranlib_generators(), and mk_tm_map().
std::string octave::sys::base_tm::strftime | ( | const std::string & | fmt | ) | const |
Definition at line 164 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, octave_strftime_wrapper(), retval, STRFTIME_BUF_INITIAL_SIZE, and strsave().
Referenced by octave::command_editor::do_decode_prompt_string(), F__magick_finfo__(), Fstrftime(), octave::load_save_system::write_header(), and octave::history_system::write_timestamp().
base_tm & octave::sys::base_tm::usec | ( | int | v | ) |
Definition at line 139 of file oct-time.cc.
|
inline |
Definition at line 229 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::wday | ( | int | v | ) |
Definition at line 147 of file oct-time.cc.
|
inline |
Definition at line 236 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::yday | ( | int | v | ) |
Definition at line 148 of file oct-time.cc.
|
inline |
Definition at line 237 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::year | ( | int | v | ) |
Definition at line 146 of file oct-time.cc.
|
inline |
Definition at line 235 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
base_tm & octave::sys::base_tm::zone | ( | const std::string & | s | ) |
Definition at line 153 of file oct-time.cc.
|
inline |
Definition at line 240 of file oct-time.h.
Referenced by octave::sys::time::time(), extract_tm(), and mk_tm_map().
|
protected |
Definition at line 293 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 290 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 269 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 266 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 263 of file oct-time.h.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), and operator=().
|
protected |
Definition at line 284 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 281 of file oct-time.h.
Referenced by init(), operator=(), and strftime().
|
protected |
Definition at line 296 of file oct-time.h.
Referenced by init(), operator=(), and strftime().