GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-time.h"
Public Member Functions | |
octave_time (void) | |
octave_time (time_t t) | |
octave_time (time_t t, int us) | |
octave_time (double d) | |
octave_time (const octave_base_tm &tm) | |
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.
|
inline |
Definition at line 39 of file oct-time.h.
|
inline |
Definition at line 42 of file oct-time.h.
|
inline |
Definition at line 45 of file oct-time.h.
References rem().
|
inline |
Definition at line 67 of file oct-time.h.
octave_time::octave_time | ( | const octave_base_tm & | tm | ) |
Definition at line 43 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().
|
inline |
Definition at line 76 of file oct-time.h.
|
inline |
Definition at line 90 of file oct-time.h.
std::string octave_time::ctime | ( | void | ) | const |
Definition at line 78 of file oct-time.cc.
Definition at line 94 of file oct-time.h.
Referenced by Ftic(), Ftoc(), and profile_data_accumulator::query_time().
|
inline |
Definition at line 79 of file oct-time.h.
References ot_unix_time, and ot_usec.
Definition at line 84 of file oct-time.cc.
References ot_unix_time, and ot_usec.
Referenced by interactive_input(), octave_change_to_directory(), and rehash_internal().
|
inline |
Definition at line 96 of file oct-time.h.
Referenced by octave_localtime::init(), octave_gmtime::init(), operator+(), operator<(), operator==(), operator>(), and out_of_date_check().
Definition at line 98 of file oct-time.h.
Referenced by octave_localtime::init(), octave_gmtime::init(), operator+(), operator<(), operator==(), and operator>().
|
private |
Definition at line 105 of file oct-time.h.
Referenced by octave_time(), operator=(), and stamp().
|
private |
Definition at line 108 of file oct-time.h.
Referenced by octave_time(), operator=(), and stamp().