#include "oct-time.h"
Public Member Functions | |
strptime (const std::string &str, const std::string &fmt) | |
strptime (const strptime &s) | |
~strptime (void)=default | |
std::string | asctime (void) const |
int | characters_converted (void) const |
OCTAVE_API base_tm & | gmtoff (long v) |
long | gmtoff (void) const |
OCTAVE_API base_tm & | hour (int v) |
int | hour (void) const |
OCTAVE_API base_tm & | isdst (int v) |
int | isdst (void) const |
OCTAVE_API base_tm & | mday (int v) |
int | mday (void) const |
OCTAVE_API base_tm & | min (int v) |
int | min (void) const |
OCTAVE_API base_tm & | mon (int v) |
int | mon (void) const |
strptime & | operator= (const strptime &s) |
OCTAVE_API base_tm & | sec (int v) |
int | sec (void) const |
OCTAVE_API std::string | strftime (const std::string &fmt) const |
OCTAVE_API base_tm & | usec (int v) |
int | usec (void) const |
OCTAVE_API base_tm & | wday (int v) |
int | wday (void) const |
OCTAVE_API base_tm & | yday (int v) |
int | yday (void) const |
OCTAVE_API base_tm & | year (int v) |
int | year (void) const |
OCTAVE_API base_tm & | zone (const std::string &s) |
std::string | zone (void) const |
Protected Member Functions | |
OCTAVE_API void | init (void *p) |
Protected Attributes | |
long | m_gmtoff |
int | m_hour |
int | m_isdst |
int | m_mday |
int | m_min |
int | m_mon |
int | m_sec |
int | m_usec |
int | m_wday |
int | m_yday |
int | m_year |
std::string | m_zone |
Private Member Functions | |
OCTAVE_API void | init (const std::string &str, const std::string &fmt) |
Private Attributes | |
int | m_nchars |
Definition at line 348 of file oct-time.h.
|
inline |
Definition at line 353 of file oct-time.h.
|
inline |
Definition at line 359 of file oct-time.h.
|
default |
|
inlineinherited |
Definition at line 253 of file oct-time.h.
Referenced by octave::sys::time::ctime().
|
inline |
Definition at line 369 of file oct-time.h.
|
inherited |
Definition at line 157 of file oct-time.cc.
|
inlineinherited |
Definition at line 235 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 149 of file oct-time.cc.
|
inlineinherited |
Definition at line 228 of file oct-time.h.
Referenced by octave::sys::time::time(), and octave::rand::initialize_ranlib_generators().
|
private |
Definition at line 294 of file oct-time.cc.
References octave::sys::base_tm::init(), m_nchars, min(), octave_mktime_wrapper(), octave_strptime_wrapper(), and octave::strsave().
|
protectedinherited |
Definition at line 229 of file oct-time.cc.
References octave::sys::base_tm::m_gmtoff, octave::sys::base_tm::m_hour, octave::sys::base_tm::m_isdst, octave::sys::base_tm::m_mday, octave::sys::base_tm::m_min, octave::sys::base_tm::m_mon, octave::sys::base_tm::m_sec, octave::sys::base_tm::m_wday, octave::sys::base_tm::m_yday, octave::sys::base_tm::m_year, octave::sys::base_tm::m_zone, and octave::sys::u8_from_wstring().
Referenced by init(), octave::sys::localtime::init(), and octave::sys::gmtime::init().
Definition at line 156 of file oct-time.cc.
|
inlineinherited |
Definition at line 234 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 150 of file oct-time.cc.
|
inlineinherited |
Definition at line 229 of file oct-time.h.
Referenced by octave::sys::time::time(), and octave::rand::initialize_ranlib_generators().
Definition at line 148 of file oct-time.cc.
|
inlineinherited |
Definition at line 227 of file oct-time.h.
Referenced by octave::sys::time::time(), and octave::rand::initialize_ranlib_generators().
Definition at line 151 of file oct-time.cc.
|
inlineinherited |
Definition at line 230 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 362 of file oct-time.h.
References m_nchars, and octave::sys::base_tm::operator=().
Definition at line 147 of file oct-time.cc.
|
inlineinherited |
Definition at line 226 of file oct-time.h.
Referenced by octave::sys::time::time(), and octave::rand::initialize_ranlib_generators().
|
inherited |
Definition at line 171 of file oct-time.cc.
References octave::sys::base_tm::m_gmtoff, octave::sys::base_tm::m_hour, octave::sys::base_tm::m_isdst, octave::sys::base_tm::m_mday, octave::sys::base_tm::m_min, octave::sys::base_tm::m_mon, octave::sys::base_tm::m_sec, octave::sys::base_tm::m_wday, octave::sys::base_tm::m_yday, octave::sys::base_tm::m_year, octave::sys::base_tm::m_zone, octave_strftime_wrapper(), STRFTIME_BUF_INITIAL_SIZE, and octave::strsave().
Referenced by octave::command_editor::do_decode_prompt_string().
Definition at line 146 of file oct-time.cc.
|
inlineinherited |
Definition at line 225 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 154 of file oct-time.cc.
|
inlineinherited |
Definition at line 232 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 155 of file oct-time.cc.
|
inlineinherited |
Definition at line 233 of file oct-time.h.
Referenced by octave::sys::time::time().
Definition at line 153 of file oct-time.cc.
|
inlineinherited |
Definition at line 231 of file oct-time.h.
Referenced by octave::sys::time::time().
|
inherited |
Definition at line 160 of file oct-time.cc.
|
inlineinherited |
Definition at line 236 of file oct-time.h.
Referenced by octave::sys::time::time().
|
protectedinherited |
Definition at line 289 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 268 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 286 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 271 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 265 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 274 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
private |
Definition at line 375 of file oct-time.h.
Referenced by init(), and operator=().
|
protectedinherited |
Definition at line 262 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 259 of file oct-time.h.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), and octave::sys::base_tm::operator=().
|
protectedinherited |
Definition at line 280 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 283 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 277 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().
|
protectedinherited |
Definition at line 292 of file oct-time.h.
Referenced by octave::sys::base_tm::init(), octave::sys::base_tm::operator=(), and octave::sys::base_tm::strftime().