GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-time.cc File Reference
#include <cmath>
#include <ctime>
#include <iomanip>
#include <limits>
#include <ostream>
#include "file-stat.h"
#include "lo-error.h"
#include "lo-utils.h"
#include "lo-sysdep.h"
#include "oct-locbuf.h"
#include "oct-time.h"
#include "octave-preserve-stream-state.h"
#include "strftime-wrapper.h"
#include "strptime-wrapper.h"
#include "time-wrappers.h"

Go to the source code of this file.

Macros

#define DEFINE_SET_FIELD_FCN(type, f, lo, hi)
 
#define DEFINE_SET_INT_FIELD_FCN(f, lo, hi)    DEFINE_SET_FIELD_FCN (int, f, lo, hi)
 
#define STRFTIME_BUF_INITIAL_SIZE   128
 

Functions

std::ostream & operator<< (std::ostream &os, const time &ot)
 

Macro Definition Documentation

◆ DEFINE_SET_FIELD_FCN

#define DEFINE_SET_FIELD_FCN (   type,
  f,
  lo,
  hi 
)
Value:
base_tm::f (type v) \
{ \
m_ ## f = v; \
\
return *this; \
}
F77_RET_T const F77_DBLE const F77_DBLE * f

Definition at line 136 of file oct-time.cc.

◆ DEFINE_SET_INT_FIELD_FCN

#define DEFINE_SET_INT_FIELD_FCN (   f,
  lo,
  hi 
)     DEFINE_SET_FIELD_FCN (int, f, lo, hi)

Definition at line 145 of file oct-time.cc.

◆ STRFTIME_BUF_INITIAL_SIZE

#define STRFTIME_BUF_INITIAL_SIZE   128

Definition at line 169 of file oct-time.cc.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const time ot 
)

Definition at line 104 of file oct-time.cc.