GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
localtime Class Reference

#include "oct-time.h"

Inheritance diagram for localtime:
base_tm

Public Member Functions

 localtime ()
 
 localtime (const localtime &t)
 
 localtime (const time &ot)
 
 ~localtime ()=default
 
localtimeoperator= (const localtime &t)
 
- Public Member Functions inherited from base_tm
 base_tm ()
 
 base_tm (const base_tm &tm)
 
virtual ~base_tm ()=default
 
std::string asctime () const
 
long gmtoff () const
 
base_tmgmtoff (long v)
 
int hour () const
 
base_tmhour (int v)
 
int isdst () const
 
base_tmisdst (int v)
 
int mday () const
 
base_tmmday (int v)
 
int min () const
 
base_tmmin (int v)
 
int mon () const
 
base_tmmon (int v)
 
base_tmoperator= (const base_tm &tm)
 
int sec () const
 
base_tmsec (int v)
 
std::string strftime (const std::string &fmt) const
 
int usec () const
 
base_tmusec (int v)
 
int wday () const
 
base_tmwday (int v)
 
int yday () const
 
base_tmyday (int v)
 
int year () const
 
base_tmyear (int v)
 
std::string zone () const
 
base_tmzone (const std::string &s)
 

Additional Inherited Members

- Protected Member Functions inherited from base_tm
void init (void *p)
 
- Protected Attributes inherited from base_tm
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
 

Detailed Description

Definition at line 309 of file oct-time.h.

Constructor & Destructor Documentation

◆ localtime() [1/3]

localtime::localtime ( )
inline

Definition at line 314 of file oct-time.h.

References base_tm::init().

◆ localtime() [2/3]

localtime::localtime ( const time ot)
inline

Definition at line 317 of file oct-time.h.

References base_tm::init().

◆ localtime() [3/3]

localtime::localtime ( const localtime t)
inline

Definition at line 320 of file oct-time.h.

◆ ~localtime()

localtime::~localtime ( )
default

Member Function Documentation

◆ operator=()

localtime& localtime::operator= ( const localtime t)
inline

Definition at line 323 of file oct-time.h.

References base_tm::operator=().


The documentation for this class was generated from the following files: