GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>
#include "defun.h"
#include "error.h"
#include "oct-map.h"
#include "oct-time.h"
#include "ov.h"
#include "oct-obj.h"
Go to the source code of this file.
Functions | |
static octave_base_tm | extract_tm (const octave_scalar_map &m) |
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) |
static octave_scalar_map | mk_tm_map (const octave_base_tm &t) |
static std::string | stringfield (const octave_scalar_map &m, const std::string &k) |
|
static |
Definition at line 85 of file time.cc.
References octave_base_tm::hour(), intfield(), octave_base_tm::isdst(), octave_base_tm::mday(), octave_base_tm::min(), octave_base_tm::mon(), octave_base_tm::sec(), stringfield(), octave_base_tm::usec(), octave_base_tm::wday(), octave_base_tm::yday(), octave_base_tm::year(), and octave_base_tm::zone().
Referenced by Fmktime(), and Fstrftime().
OCTAVE_EXPORT octave_value_list Fgmtime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 158 of file time.cc.
References octave_value::double_value(), error_state, mk_tm_map(), octave_value(), and print_usage().
OCTAVE_EXPORT octave_value_list Flocaltime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 219 of file time.cc.
References octave_value::double_value(), error_state, mk_tm_map(), octave_value(), and print_usage().
OCTAVE_EXPORT octave_value_list Fmktime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 270 of file time.cc.
References error(), error_state, extract_tm(), and print_usage().
OCTAVE_EXPORT octave_value_list Fstrftime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 465 of file time.cc.
References error(), error_state, extract_tm(), print_usage(), octave_base_tm::strftime(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list Fstrptime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 521 of file time.cc.
References octave_strptime::characters_converted(), error(), mk_tm_map(), octave_value(), and print_usage().
OCTAVE_EXPORT octave_value_list Ftime | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 113 of file time.cc.
References print_usage().
|
inlinestatic |
Definition at line 59 of file time.cc.
References octave_scalar_map::getfield(), octave_value::int_value(), and octave_value::is_empty().
Referenced by extract_tm().
|
static |
Definition at line 39 of file time.cc.
References octave_scalar_map::assign(), octave_base_tm::hour(), octave_base_tm::isdst(), octave_base_tm::mday(), octave_base_tm::min(), octave_base_tm::mon(), octave_base_tm::sec(), octave_base_tm::usec(), octave_base_tm::wday(), octave_base_tm::yday(), octave_base_tm::year(), and octave_base_tm::zone().
Referenced by Fgmtime(), Flocaltime(), and Fstrptime().
|
inlinestatic |
Definition at line 72 of file time.cc.
References octave_scalar_map::getfield(), octave_value::is_empty(), and octave_value::string_value().
Referenced by extract_tm().