#include <string>
#include "defun.h"
#include "error.h"
#include "oct-map.h"
#include "oct-time.h"
#include "ov.h"
#include "ovl.h"
Go to the source code of this file.
Functions | |
static octave::sys::base_tm | extract_tm (const octave_scalar_map &m, const char *who) |
OCTAVE_EXPORT octave_value_list | Fgmtime (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Flocaltime (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fmktime (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrftime (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrptime (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Ftime (const octave_value_list &args, int) |
static int | intfield (const octave_scalar_map &m, const std::string &k, const char *who) |
static octave_scalar_map | mk_tm_map (const octave::sys::base_tm &t) |
static std::string | stringfield (const octave_scalar_map &m, const std::string &k, const char *who) |
|
static |
Definition at line 89 of file time.cc.
References octave::sys::base_tm::gmtoff(), octave::sys::base_tm::hour(), intfield(), octave::sys::base_tm::isdst(), m, octave::sys::base_tm::mday(), octave::sys::base_tm::min(), octave::sys::base_tm::mon(), octave::sys::base_tm::sec(), stringfield(), octave::sys::base_tm::usec(), octave::sys::base_tm::wday(), octave::sys::base_tm::yday(), octave::sys::base_tm::year(), and octave::sys::base_tm::zone().
Referenced by Fmktime(), and Fstrftime().
OCTAVE_EXPORT octave_value_list Fgmtime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 160 of file time.cc.
References mk_tm_map(), numel(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Flocaltime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 215 of file time.cc.
References mk_tm_map(), numel(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fmktime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 259 of file time.cc.
References extract_tm(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fstrftime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 444 of file time.cc.
References extract_tm(), ovl(), print_usage(), and octave::sys::base_tm::strftime().
OCTAVE_EXPORT octave_value_list Fstrptime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 481 of file time.cc.
References octave::sys::strptime::characters_converted(), mk_tm_map(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Ftime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 118 of file time.cc.
References ovl(), and print_usage().
|
inlinestatic |
Definition at line 63 of file time.cc.
References octave_value::isempty(), m, retval, and octave_value::xint_value().
Referenced by extract_tm().
|
static |
Definition at line 42 of file time.cc.
References octave::sys::base_tm::gmtoff(), octave::sys::base_tm::hour(), octave::sys::base_tm::isdst(), m, octave::sys::base_tm::mday(), octave::sys::base_tm::min(), octave::sys::base_tm::mon(), octave::sys::base_tm::sec(), octave::sys::base_tm::usec(), octave::sys::base_tm::wday(), octave::sys::base_tm::yday(), octave::sys::base_tm::year(), and octave::sys::base_tm::zone().
Referenced by Fgmtime(), Flocaltime(), and Fstrptime().
|
inlinestatic |
Definition at line 76 of file time.cc.
References octave_value::isempty(), m, retval, and octave_value::xstring_value().
Referenced by extract_tm().