#include "oct-time.h"
Public Member Functions | |
octave_time (void) | |
octave_time (time_t t) | |
octave_time (double d) | |
octave_time (const octave_base_tm &tm) | |
octave_time (time_t t, int us) | |
octave_time (const octave_time &ot) | |
~octave_time (void) | |
std::string | ctime (void) const |
double | double_value (void) const |
octave_time & | operator= (const octave_time &ot) |
void | stamp (void) |
time_t | unix_time (void) const |
int | usec (void) const |
Private Attributes | |
time_t | ot_unix_time |
int | ot_usec |
Definition at line 33 of file oct-time.h.
octave_time::octave_time | ( | void | ) | [inline] |
Definition at line 39 of file oct-time.h.
octave_time::octave_time | ( | time_t | t | ) | [inline] |
Definition at line 42 of file oct-time.h.
octave_time::octave_time | ( | time_t | t, | |
int | us | |||
) | [inline] |
Definition at line 45 of file oct-time.h.
octave_time::octave_time | ( | double | d | ) | [inline] |
Definition at line 67 of file oct-time.h.
octave_time::octave_time | ( | const octave_base_tm & | tm | ) |
Definition at line 42 of file oct-time.cc.
References octave_base_tm::gmtoff(), octave_base_tm::hour(), octave_base_tm::isdst(), octave_base_tm::mday(), octave_base_tm::min(), octave_base_tm::mon(), ot_unix_time, ot_usec, octave_base_tm::sec(), strsave(), octave_base_tm::tm_sec, octave_base_tm::usec(), octave_base_tm::wday(), octave_base_tm::yday(), octave_base_tm::year(), and octave_base_tm::zone().
octave_time::octave_time | ( | const octave_time & | ot | ) | [inline] |
Definition at line 76 of file oct-time.h.
octave_time::~octave_time | ( | void | ) | [inline] |
Definition at line 90 of file oct-time.h.
std::string octave_time::ctime | ( | void | ) | const |
Definition at line 77 of file oct-time.cc.
double octave_time::double_value | ( | void | ) | const [inline] |
Definition at line 94 of file oct-time.h.
Referenced by DEFUN(), and profile_data_accumulator::query_time().
octave_time& octave_time::operator= | ( | const octave_time & | ot | ) | [inline] |
Definition at line 79 of file oct-time.h.
References ot_unix_time, and ot_usec.
void octave_time::stamp | ( | void | ) |
Definition at line 83 of file oct-time.cc.
References ot_unix_time, and ot_usec.
Referenced by interactive_input(), octave_change_to_directory(), and rehash_internal().
time_t octave_time::unix_time | ( | void | ) | const [inline] |
Definition at line 96 of file oct-time.h.
Referenced by octave_gmtime::init(), octave_localtime::init(), operator+(), operator<(), operator==(), operator>(), and out_of_date_check().
int octave_time::usec | ( | void | ) | const [inline] |
Definition at line 98 of file oct-time.h.
Referenced by octave_gmtime::init(), octave_localtime::init(), operator+(), operator<(), operator==(), and operator>().
time_t octave_time::ot_unix_time [private] |
Definition at line 105 of file oct-time.h.
Referenced by octave_time(), operator=(), and stamp().
int octave_time::ot_usec [private] |
Definition at line 108 of file oct-time.h.
Referenced by octave_time(), operator=(), and stamp().