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

#include "oct-time.h"

Inheritance diagram for gmtime:
base_tm

Public Member Functions

 gmtime ()
 
 gmtime (const time &ot)
 
- 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 336 of file oct-time.h.

Constructor & Destructor Documentation

◆ gmtime() [1/2]

gmtime::gmtime ( )
inline

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

References base_tm::init().

◆ gmtime() [2/2]

gmtime::gmtime ( const time ot)
inline

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

References base_tm::init().


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