#include "oct-time.h"
Public Member Functions | |
octave_gmtime (void) | |
octave_gmtime (const octave_time &ot) | |
~octave_gmtime (void) | |
std::string | asctime (void) const |
octave_base_tm & | gmtoff (long v) |
long | gmtoff (void) const |
int | hour (void) const |
octave_base_tm & | hour (int v) |
int | isdst (void) const |
octave_base_tm & | isdst (int v) |
int | mday (void) const |
octave_base_tm & | mday (int v) |
int | min (void) const |
octave_base_tm & | min (int v) |
octave_base_tm & | mon (int v) |
int | mon (void) const |
octave_gmtime & | operator= (const octave_gmtime &t) |
octave_base_tm & | sec (int v) |
int | sec (void) const |
std::string | strftime (const std::string &fmt) const |
int | usec (void) const |
octave_base_tm & | usec (int v) |
int | wday (void) const |
octave_base_tm & | wday (int v) |
octave_base_tm & | yday (int v) |
int | yday (void) const |
octave_base_tm & | year (int v) |
int | year (void) const |
std::string | zone (void) const |
octave_base_tm & | zone (const std::string &s) |
Protected Member Functions | |
void | init (void *p) |
Protected Attributes | |
long | tm_gmtoff |
int | tm_hour |
int | tm_isdst |
int | tm_mday |
int | tm_min |
int | tm_mon |
int | tm_sec |
int | tm_usec |
int | tm_wday |
int | tm_yday |
int | tm_year |
std::string | tm_zone |
Private Member Functions | |
void | init (const octave_time &ot) |
Definition at line 310 of file oct-time.h.
octave_gmtime::octave_gmtime | ( | void | ) | [inline] |
Definition at line 316 of file oct-time.h.
References octave_base_tm::init().
octave_gmtime::octave_gmtime | ( | const octave_time & | ot | ) | [inline] |
Definition at line 319 of file oct-time.h.
References octave_base_tm::init().
octave_gmtime::~octave_gmtime | ( | void | ) | [inline] |
Definition at line 328 of file oct-time.h.
std::string octave_base_tm::asctime | ( | void | ) | const [inline, inherited] |
Definition at line 238 of file oct-time.h.
References octave_base_tm::strftime().
long octave_base_tm::gmtoff | ( | void | ) | const [inline, inherited] |
Definition at line 220 of file oct-time.h.
References octave_base_tm::tm_gmtoff.
Referenced by octave_time::octave_time().
octave_base_tm& octave_base_tm::gmtoff | ( | long | v | ) | [inherited] |
int octave_base_tm::hour | ( | void | ) | const [inline, inherited] |
Definition at line 213 of file oct-time.h.
References octave_base_tm::tm_hour.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::hour | ( | int | v | ) | [inherited] |
void octave_gmtime::init | ( | const octave_time & | ot | ) | [private] |
Definition at line 240 of file oct-time.cc.
References octave_base_tm::tm_usec, octave_time::unix_time(), and octave_time::usec().
void octave_base_tm::init | ( | void * | p | ) | [protected, inherited] |
Definition at line 199 of file oct-time.cc.
References octave_base_tm::tm_gmtoff, octave_base_tm::tm_hour, octave_base_tm::tm_isdst, octave_base_tm::tm_mday, octave_base_tm::tm_min, octave_base_tm::tm_mon, octave_base_tm::tm_sec, octave_base_tm::tm_wday, octave_base_tm::tm_yday, octave_base_tm::tm_year, and octave_base_tm::tm_zone.
Referenced by octave_gmtime(), octave_localtime::octave_localtime(), and octave_strptime::octave_strptime().
int octave_base_tm::isdst | ( | void | ) | const [inline, inherited] |
Definition at line 219 of file oct-time.h.
References octave_base_tm::tm_isdst.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::isdst | ( | int | v | ) | [inherited] |
int octave_base_tm::mday | ( | void | ) | const [inline, inherited] |
Definition at line 214 of file oct-time.h.
References octave_base_tm::tm_mday.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::mday | ( | int | v | ) | [inherited] |
octave_base_tm& octave_base_tm::min | ( | int | v | ) | [inherited] |
int octave_base_tm::min | ( | void | ) | const [inline, inherited] |
Definition at line 212 of file oct-time.h.
References octave_base_tm::tm_min.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
int octave_base_tm::mon | ( | void | ) | const [inline, inherited] |
Definition at line 215 of file oct-time.h.
References octave_base_tm::tm_mon.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::mon | ( | int | v | ) | [inherited] |
octave_gmtime& octave_gmtime::operator= | ( | const octave_gmtime & | t | ) | [inline] |
Definition at line 322 of file oct-time.h.
References octave_base_tm::operator=().
int octave_base_tm::sec | ( | void | ) | const [inline, inherited] |
Definition at line 211 of file oct-time.h.
References octave_base_tm::tm_sec.
Referenced by extract_tm(), octave_rand::initialize_ranlib_generators(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::sec | ( | int | v | ) | [inherited] |
std::string octave_base_tm::strftime | ( | const std::string & | fmt | ) | const [inherited] |
Definition at line 142 of file oct-time.cc.
References strsave(), octave_base_tm::tm_gmtoff, octave_base_tm::tm_hour, octave_base_tm::tm_isdst, octave_base_tm::tm_mday, octave_base_tm::tm_min, octave_base_tm::tm_mon, octave_base_tm::tm_sec, octave_base_tm::tm_wday, octave_base_tm::tm_yday, octave_base_tm::tm_year, and octave_base_tm::tm_zone.
Referenced by octave_base_tm::asctime(), DEFUN_DLD(), command_editor::do_decode_prompt_string(), octave_history_write_timestamp(), and write_header().
octave_base_tm& octave_base_tm::usec | ( | int | v | ) | [inherited] |
int octave_base_tm::usec | ( | void | ) | const [inline, inherited] |
Definition at line 210 of file oct-time.h.
References octave_base_tm::tm_usec.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
int octave_base_tm::wday | ( | void | ) | const [inline, inherited] |
Definition at line 217 of file oct-time.h.
References octave_base_tm::tm_wday.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::wday | ( | int | v | ) | [inherited] |
octave_base_tm& octave_base_tm::yday | ( | int | v | ) | [inherited] |
int octave_base_tm::yday | ( | void | ) | const [inline, inherited] |
Definition at line 218 of file oct-time.h.
References octave_base_tm::tm_yday.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm& octave_base_tm::year | ( | int | v | ) | [inherited] |
int octave_base_tm::year | ( | void | ) | const [inline, inherited] |
Definition at line 216 of file oct-time.h.
References octave_base_tm::tm_year.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
std::string octave_base_tm::zone | ( | void | ) | const [inline, inherited] |
Definition at line 221 of file oct-time.h.
References octave_base_tm::tm_zone.
Referenced by extract_tm(), mk_tm_map(), and octave_time::octave_time().
octave_base_tm & octave_base_tm::zone | ( | const std::string & | s | ) | [inherited] |
Definition at line 131 of file oct-time.cc.
long octave_base_tm::tm_gmtoff [protected, inherited] |
Definition at line 274 of file oct-time.h.
Referenced by octave_base_tm::gmtoff(), octave_base_tm::init(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_hour [protected, inherited] |
Definition at line 253 of file oct-time.h.
Referenced by octave_base_tm::hour(), octave_base_tm::init(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_isdst [protected, inherited] |
Definition at line 271 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::isdst(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_mday [protected, inherited] |
Definition at line 256 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::mday(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_min [protected, inherited] |
Definition at line 250 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::min(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_mon [protected, inherited] |
Definition at line 259 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::mon(), octave_base_tm::operator=(), and octave_base_tm::strftime().
int octave_base_tm::tm_sec [protected, inherited] |
Definition at line 247 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_time::octave_time(), octave_base_tm::operator=(), octave_base_tm::sec(), and octave_base_tm::strftime().
int octave_base_tm::tm_usec [protected, inherited] |
Definition at line 244 of file oct-time.h.
Referenced by init(), octave_localtime::init(), octave_base_tm::operator=(), and octave_base_tm::usec().
int octave_base_tm::tm_wday [protected, inherited] |
Definition at line 265 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::operator=(), octave_base_tm::strftime(), and octave_base_tm::wday().
int octave_base_tm::tm_yday [protected, inherited] |
Definition at line 268 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::operator=(), octave_base_tm::strftime(), and octave_base_tm::yday().
int octave_base_tm::tm_year [protected, inherited] |
Definition at line 262 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::operator=(), octave_base_tm::strftime(), and octave_base_tm::year().
std::string octave_base_tm::tm_zone [protected, inherited] |
Definition at line 277 of file oct-time.h.
Referenced by octave_base_tm::init(), octave_base_tm::operator=(), octave_base_tm::strftime(), and octave_base_tm::zone().