SAGA API v9.10
Loading...
Searching...
No Matches
CSG_DateTime Class Reference

#include <datetime.h>

Public Types

enum  Month {
  Jan , Feb , Mar , Apr ,
  May , Jun , Jul , Aug ,
  Sep , Oct , Nov , Dec ,
  Inv_Month
}
enum  WeekDay {
  Sun , Mon , Tue , Wed ,
  Thu , Fri , Sat , Inv_WeekDay
}
enum  Year { Inv_Year = -32768 }
enum  NameFlags { Name_Full = 0x01 , Name_Abbr = 0x02 }
typedef unsigned short TSG_DateTime

Public Member Functions

 CSG_DateTime (void)
 CSG_DateTime (const CSG_DateTime &DateTime)
 CSG_DateTime (const CSG_String &ISODate)
 CSG_DateTime (double JDN)
 CSG_DateTime (TSG_DateTime Hour, TSG_DateTime Minute=0, TSG_DateTime Second=0, TSG_DateTime Millisec=0)
 CSG_DateTime (TSG_DateTime Day, Month Month, int Year=Inv_Year, TSG_DateTime Hour=0, TSG_DateTime Minute=0, TSG_DateTime Second=0, TSG_DateTime Millisec=0)
virtual ~CSG_DateTime (void)
CSG_DateTimeSet (const CSG_DateTime &DateTime)
CSG_DateTimeSet (const CSG_String &ISODate)
CSG_DateTimeSet (double JDN)
CSG_DateTimeSet (TSG_DateTime Hour, TSG_DateTime Minute=0, TSG_DateTime Second=0, TSG_DateTime Millisec=0)
CSG_DateTimeSet (TSG_DateTime Day, Month Month, int Year=Inv_Year, TSG_DateTime Hour=0, TSG_DateTime Minute=0, TSG_DateTime Second=0, TSG_DateTime Millisec=0)
CSG_DateTimeSet_Millisecond (unsigned short Value)
CSG_DateTimeSet_Second (unsigned short Value)
CSG_DateTimeSet_Minute (unsigned short Value)
CSG_DateTimeSet_Hour (unsigned short Value)
CSG_DateTimeSet_Hour (double Value)
CSG_DateTimeSet_Day (unsigned short Value)
CSG_DateTimeSet_Month (unsigned short Value)
CSG_DateTimeSet_Year (int Value)
CSG_DateTimeSet_DayOfYear (unsigned short Value)
CSG_DateTimeSet_To_Current (void)
CSG_DateTimeSet_Unix_Time (sLong Seconds)
CSG_DateTimeSet_Hours_AD (int Hours)
CSG_DateTimeReset_Time (void)
CSG_DateTime From_UTC (bool noDST=false) const
CSG_DateTime To_UTC (bool noDST=false) const
CSG_DateTimeMake_UTC (bool noDST=false)
bool is_DST (void) const
CSG_DateTime Add (const CSG_TimeSpan &TimeSpan) const
CSG_DateTimeAdd (const CSG_TimeSpan &TimeSpan)
CSG_DateTime Subtract (const CSG_TimeSpan &TimeSpan) const
CSG_DateTimeSubtract (const CSG_TimeSpan &TimeSpan)
CSG_TimeSpan Subtract (const CSG_DateTime &DateTime) const
bool is_Valid (void) const
sLong Get_Value (void) const
unsigned short Get_Millisecond (void) const
unsigned short Get_Second (void) const
unsigned short Get_Minute (void) const
unsigned short Get_Hour (void) const
unsigned short Get_Day (void) const
Month Get_Month (void) const
int Get_Year (void) const
unsigned short Get_DayOfYear (void) const
WeekDay Get_WeekDay (void) const
TSG_DateTime Get_WeekOfMonth (void) const
TSG_DateTime Get_WeekOfYear (void) const
double Get_JDN (void) const
double Get_MJD (void) const
sLong Get_Unix_Time (void) const
bool is_EarlierThan (const CSG_DateTime &DateTime) const
bool is_EqualTo (const CSG_DateTime &DateTime) const
bool is_LaterThan (const CSG_DateTime &DateTime) const
bool is_SameDate (const CSG_DateTime &DateTime) const
bool is_SameTime (const CSG_DateTime &DateTime) const
bool is_Between (const CSG_DateTime &t1, const CSG_DateTime &t2) const
bool is_StrictlyBetween (const CSG_DateTime &t1, const CSG_DateTime &t2) const
CSG_DateTimeoperator= (const CSG_DateTime &DateTime)
CSG_DateTimeoperator= (double JDN)
CSG_DateTimeoperator+= (const CSG_TimeSpan &TimeSpan)
CSG_DateTimeoperator-= (const CSG_TimeSpan &TimeSpan)
CSG_DateTime operator+ (const CSG_TimeSpan &TimeSpan) const
CSG_DateTime operator- (const CSG_TimeSpan &TimeSpan) const
CSG_TimeSpan operator- (const CSG_DateTime &DateTime) const
bool operator< (const CSG_DateTime &DateTime) const
bool operator<= (const CSG_DateTime &DateTime) const
bool operator== (const CSG_DateTime &DateTime) const
bool operator>= (const CSG_DateTime &DateTime) const
bool operator> (const CSG_DateTime &DateTime) const
CSG_String Format (const CSG_String &Format="") const
CSG_String Format_Date (void) const
CSG_String Format_Time (void) const
CSG_String Format_ISODate (void) const
CSG_String Format_ISOTime (void) const
CSG_String Format_ISOCombined (char sep='T') const
bool Parse_Date (const CSG_String &date)
bool Parse_DateTime (const CSG_String &datetime)
bool Parse_Format (const CSG_String &date, const CSG_String &format, const CSG_DateTime &dateDef)
bool Parse_Format (const CSG_String &date, const CSG_String &format)
bool Parse_Format (const CSG_String &date)
bool Parse_ISOCombined (const CSG_String &date, char sep='T')
bool Parse_ISODate (const CSG_String &date)
bool Parse_ISOTime (const CSG_String &date)

Static Public Member Functions

static TSG_DateTime Get_Current_Day (void)
static Month Get_Current_Month (void)
static int Get_Current_Year (void)
static CSG_String Get_MonthName (Month month, NameFlags flags=Name_Full)
static CSG_String Get_EnglishMonthName (Month month, NameFlags flags=Name_Full)
static CSG_String Get_WeekDayName (WeekDay weekday, NameFlags flags=Name_Full)
static CSG_String Get_EnglishWeekDayName (WeekDay weekday, NameFlags flags=Name_Full)
static TSG_DateTime Get_NumberOfDays (int year)
static TSG_DateTime Get_NumberOfDays (Month month, int year=Inv_Year)
static bool is_LeapYear (int year=Inv_Year)
static CSG_DateTime Now (void)
static CSG_String Get_Month_Choices (void)

Detailed Description

Definition at line 182 of file datetime.h.

Member Typedef Documentation

◆ TSG_DateTime

typedef unsigned short CSG_DateTime::TSG_DateTime

Definition at line 189 of file datetime.h.

Member Enumeration Documentation

◆ Month

Enumerator
Jan 
Feb 
Mar 
Apr 
May 
Jun 
Jul 
Aug 
Sep 
Oct 
Nov 
Dec 
Inv_Month 

Definition at line 195 of file datetime.h.

◆ NameFlags

Enumerator
Name_Full 
Name_Abbr 

Definition at line 210 of file datetime.h.

◆ WeekDay

Enumerator
Sun 
Mon 
Tue 
Wed 
Thu 
Fri 
Sat 
Inv_WeekDay 

Definition at line 200 of file datetime.h.

◆ Year

Enumerator
Inv_Year 

Definition at line 205 of file datetime.h.

Constructor & Destructor Documentation

◆ CSG_DateTime() [1/6]

◆ CSG_DateTime() [2/6]

CSG_DateTime::CSG_DateTime ( const CSG_DateTime & DateTime)

Definition at line 88 of file datetime.cpp.

References CSG_DateTime().

◆ CSG_DateTime() [3/6]

CSG_DateTime::CSG_DateTime ( const CSG_String & ISODate)

Definition at line 100 of file datetime.cpp.

References Set().

◆ CSG_DateTime() [4/6]

CSG_DateTime::CSG_DateTime ( double JDN)

Definition at line 94 of file datetime.cpp.

◆ CSG_DateTime() [5/6]

CSG_DateTime::CSG_DateTime ( TSG_DateTime Hour,
TSG_DateTime Minute = 0,
TSG_DateTime Second = 0,
TSG_DateTime Millisec = 0 )

Definition at line 108 of file datetime.cpp.

◆ CSG_DateTime() [6/6]

CSG_DateTime::CSG_DateTime ( TSG_DateTime Day,
Month Month,
int Year = Inv_Year,
TSG_DateTime Hour = 0,
TSG_DateTime Minute = 0,
TSG_DateTime Second = 0,
TSG_DateTime Millisec = 0 )

Definition at line 114 of file datetime.cpp.

◆ ~CSG_DateTime()

CSG_DateTime::~CSG_DateTime ( void )
virtual

Definition at line 120 of file datetime.cpp.

Member Function Documentation

◆ Add() [1/2]

CSG_DateTime & CSG_DateTime::Add ( const CSG_TimeSpan & TimeSpan)

Definition at line 331 of file datetime.cpp.

References Add(), and CSG_DateTime().

◆ Add() [2/2]

CSG_DateTime CSG_DateTime::Add ( const CSG_TimeSpan & TimeSpan) const

Definition at line 324 of file datetime.cpp.

References Add(), and CSG_DateTime().

Referenced by Add(), Add(), operator+(), and operator+=().

◆ Format()

CSG_String CSG_DateTime::Format ( const CSG_String & Format = "") const

Definition at line 449 of file datetime.cpp.

References Format().

Referenced by Format().

◆ Format_Date()

CSG_String CSG_DateTime::Format_Date ( void ) const

Definition at line 454 of file datetime.cpp.

◆ Format_ISOCombined()

CSG_String CSG_DateTime::Format_ISOCombined ( char sep = 'T') const

Definition at line 474 of file datetime.cpp.

◆ Format_ISODate()

CSG_String CSG_DateTime::Format_ISODate ( void ) const

Definition at line 464 of file datetime.cpp.

◆ Format_ISOTime()

CSG_String CSG_DateTime::Format_ISOTime ( void ) const

Definition at line 469 of file datetime.cpp.

◆ Format_Time()

CSG_String CSG_DateTime::Format_Time ( void ) const

Definition at line 459 of file datetime.cpp.

◆ From_UTC()

CSG_DateTime CSG_DateTime::From_UTC ( bool noDST = false) const

Definition at line 280 of file datetime.cpp.

References CSG_DateTime().

◆ Get_Current_Day()

CSG_DateTime::TSG_DateTime CSG_DateTime::Get_Current_Day ( void )
static

Definition at line 527 of file datetime.cpp.

References CSG_DateTime(), and Now().

◆ Get_Current_Month()

CSG_DateTime::Month CSG_DateTime::Get_Current_Month ( void )
static

Definition at line 536 of file datetime.cpp.

◆ Get_Current_Year()

int CSG_DateTime::Get_Current_Year ( void )
static

Definition at line 541 of file datetime.cpp.

◆ Get_Day()

unsigned short CSG_DateTime::Get_Day ( void ) const

Definition at line 377 of file datetime.cpp.

Referenced by CSG_Table_DBase::Set_Value().

◆ Get_DayOfYear()

unsigned short CSG_DateTime::Get_DayOfYear ( void ) const

Definition at line 390 of file datetime.cpp.

Referenced by SG_Get_Day_Length().

◆ Get_EnglishMonthName()

CSG_String CSG_DateTime::Get_EnglishMonthName ( Month month,
NameFlags flags = Name_Full )
static

Definition at line 552 of file datetime.cpp.

◆ Get_EnglishWeekDayName()

CSG_String CSG_DateTime::Get_EnglishWeekDayName ( WeekDay weekday,
NameFlags flags = Name_Full )
static

Definition at line 562 of file datetime.cpp.

◆ Get_Hour()

unsigned short CSG_DateTime::Get_Hour ( void ) const

Definition at line 376 of file datetime.cpp.

◆ Get_JDN()

double CSG_DateTime::Get_JDN ( void ) const

◆ Get_Millisecond()

unsigned short CSG_DateTime::Get_Millisecond ( void ) const

Definition at line 373 of file datetime.cpp.

◆ Get_Minute()

unsigned short CSG_DateTime::Get_Minute ( void ) const

Definition at line 375 of file datetime.cpp.

◆ Get_MJD()

double CSG_DateTime::Get_MJD ( void ) const

Definition at line 416 of file datetime.cpp.

◆ Get_Month()

CSG_DateTime::Month CSG_DateTime::Get_Month ( void ) const

Definition at line 379 of file datetime.cpp.

Referenced by CSG_Table_DBase::Set_Value().

◆ Get_Month_Choices()

CSG_String CSG_DateTime::Get_Month_Choices ( void )
static

Definition at line 660 of file datetime.cpp.

References _TL, and CSG_String::Printf().

◆ Get_MonthName()

CSG_String CSG_DateTime::Get_MonthName ( Month month,
NameFlags flags = Name_Full )
static

Definition at line 547 of file datetime.cpp.

◆ Get_NumberOfDays() [1/2]

CSG_DateTime::TSG_DateTime CSG_DateTime::Get_NumberOfDays ( int year)
static

Definition at line 568 of file datetime.cpp.

◆ Get_NumberOfDays() [2/2]

CSG_DateTime::TSG_DateTime CSG_DateTime::Get_NumberOfDays ( Month month,
int year = Inv_Year )
static

Definition at line 573 of file datetime.cpp.

◆ Get_Second()

unsigned short CSG_DateTime::Get_Second ( void ) const

Definition at line 374 of file datetime.cpp.

◆ Get_Unix_Time()

sLong CSG_DateTime::Get_Unix_Time ( void ) const

Definition at line 421 of file datetime.cpp.

◆ Get_Value()

sLong CSG_DateTime::Get_Value ( void ) const

Definition at line 313 of file datetime.cpp.

Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().

◆ Get_WeekDay()

CSG_DateTime::WeekDay CSG_DateTime::Get_WeekDay ( void ) const

Definition at line 395 of file datetime.cpp.

◆ Get_WeekDayName()

CSG_String CSG_DateTime::Get_WeekDayName ( WeekDay weekday,
NameFlags flags = Name_Full )
static

Definition at line 557 of file datetime.cpp.

◆ Get_WeekOfMonth()

CSG_DateTime::TSG_DateTime CSG_DateTime::Get_WeekOfMonth ( void ) const

Definition at line 400 of file datetime.cpp.

◆ Get_WeekOfYear()

CSG_DateTime::TSG_DateTime CSG_DateTime::Get_WeekOfYear ( void ) const

Definition at line 405 of file datetime.cpp.

◆ Get_Year()

int CSG_DateTime::Get_Year ( void ) const

Definition at line 384 of file datetime.cpp.

Referenced by CSG_Table_DBase::Set_Value().

◆ is_Between()

bool CSG_DateTime::is_Between ( const CSG_DateTime & t1,
const CSG_DateTime & t2 ) const

Definition at line 440 of file datetime.cpp.

References CSG_DateTime().

◆ is_DST()

bool CSG_DateTime::is_DST ( void ) const

Definition at line 302 of file datetime.cpp.

◆ is_EarlierThan()

bool CSG_DateTime::is_EarlierThan ( const CSG_DateTime & DateTime) const

Definition at line 431 of file datetime.cpp.

References CSG_DateTime().

◆ is_EqualTo()

bool CSG_DateTime::is_EqualTo ( const CSG_DateTime & DateTime) const

Definition at line 432 of file datetime.cpp.

References CSG_DateTime().

◆ is_LaterThan()

bool CSG_DateTime::is_LaterThan ( const CSG_DateTime & DateTime) const

Definition at line 433 of file datetime.cpp.

References CSG_DateTime().

◆ is_LeapYear()

bool CSG_DateTime::is_LeapYear ( int year = Inv_Year)
static

Definition at line 579 of file datetime.cpp.

◆ is_SameDate()

bool CSG_DateTime::is_SameDate ( const CSG_DateTime & DateTime) const

Definition at line 436 of file datetime.cpp.

References CSG_DateTime().

◆ is_SameTime()

bool CSG_DateTime::is_SameTime ( const CSG_DateTime & DateTime) const

Definition at line 437 of file datetime.cpp.

References CSG_DateTime().

◆ is_StrictlyBetween()

bool CSG_DateTime::is_StrictlyBetween ( const CSG_DateTime & t1,
const CSG_DateTime & t2 ) const

Definition at line 441 of file datetime.cpp.

References CSG_DateTime().

◆ is_Valid()

bool CSG_DateTime::is_Valid ( void ) const

Definition at line 367 of file datetime.cpp.

◆ Make_UTC()

CSG_DateTime & CSG_DateTime::Make_UTC ( bool noDST = false)

Definition at line 294 of file datetime.cpp.

References CSG_DateTime().

◆ Now()

◆ operator+()

CSG_DateTime CSG_DateTime::operator+ ( const CSG_TimeSpan & TimeSpan) const
inline

Definition at line 317 of file datetime.h.

References Add(), and CSG_DateTime().

◆ operator+=()

CSG_DateTime & CSG_DateTime::operator+= ( const CSG_TimeSpan & TimeSpan)
inline

Definition at line 314 of file datetime.h.

References Add(), and CSG_DateTime().

◆ operator-() [1/2]

CSG_TimeSpan CSG_DateTime::operator- ( const CSG_DateTime & DateTime) const
inline

Definition at line 320 of file datetime.h.

References CSG_DateTime(), and Subtract().

◆ operator-() [2/2]

CSG_DateTime CSG_DateTime::operator- ( const CSG_TimeSpan & TimeSpan) const
inline

Definition at line 318 of file datetime.h.

References CSG_DateTime(), and Subtract().

◆ operator-=()

CSG_DateTime & CSG_DateTime::operator-= ( const CSG_TimeSpan & TimeSpan)
inline

Definition at line 315 of file datetime.h.

References CSG_DateTime(), and Subtract().

◆ operator<()

bool CSG_DateTime::operator< ( const CSG_DateTime & DateTime) const
inline

Definition at line 322 of file datetime.h.

References CSG_DateTime(), and Get_Value().

◆ operator<=()

bool CSG_DateTime::operator<= ( const CSG_DateTime & DateTime) const
inline

Definition at line 323 of file datetime.h.

References CSG_DateTime(), and Get_Value().

◆ operator=() [1/2]

CSG_DateTime & CSG_DateTime::operator= ( const CSG_DateTime & DateTime)
inline

Definition at line 311 of file datetime.h.

References CSG_DateTime(), and Set().

◆ operator=() [2/2]

CSG_DateTime & CSG_DateTime::operator= ( double JDN)
inline

Definition at line 312 of file datetime.h.

References CSG_DateTime(), and Set().

◆ operator==()

bool CSG_DateTime::operator== ( const CSG_DateTime & DateTime) const
inline

Definition at line 324 of file datetime.h.

References CSG_DateTime(), and Get_Value().

◆ operator>()

bool CSG_DateTime::operator> ( const CSG_DateTime & DateTime) const
inline

Definition at line 326 of file datetime.h.

References CSG_DateTime(), and Get_Value().

◆ operator>=()

bool CSG_DateTime::operator>= ( const CSG_DateTime & DateTime) const
inline

Definition at line 325 of file datetime.h.

References CSG_DateTime(), and Get_Value().

◆ Parse_Date()

bool CSG_DateTime::Parse_Date ( const CSG_String & date)

Definition at line 480 of file datetime.cpp.

References CSG_String::c_str().

Referenced by CSG_Parameter_Date::_Set_Value().

◆ Parse_DateTime()

bool CSG_DateTime::Parse_DateTime ( const CSG_String & datetime)

Definition at line 485 of file datetime.cpp.

References CSG_String::c_str().

◆ Parse_Format() [1/3]

bool CSG_DateTime::Parse_Format ( const CSG_String & date)

Definition at line 500 of file datetime.cpp.

References CSG_String::c_str().

◆ Parse_Format() [2/3]

bool CSG_DateTime::Parse_Format ( const CSG_String & date,
const CSG_String & format )

Definition at line 495 of file datetime.cpp.

References CSG_String::c_str().

◆ Parse_Format() [3/3]

bool CSG_DateTime::Parse_Format ( const CSG_String & date,
const CSG_String & format,
const CSG_DateTime & dateDef )

Definition at line 490 of file datetime.cpp.

References CSG_String::c_str(), and CSG_DateTime().

◆ Parse_ISOCombined()

bool CSG_DateTime::Parse_ISOCombined ( const CSG_String & date,
char sep = 'T' )

Definition at line 506 of file datetime.cpp.

References CSG_String::c_str().

◆ Parse_ISODate()

bool CSG_DateTime::Parse_ISODate ( const CSG_String & date)

Definition at line 511 of file datetime.cpp.

References CSG_String::c_str().

Referenced by CSG_Parameter_Date::_Set_Value().

◆ Parse_ISOTime()

bool CSG_DateTime::Parse_ISOTime ( const CSG_String & date)

Definition at line 516 of file datetime.cpp.

References CSG_String::c_str().

◆ Reset_Time()

CSG_DateTime & CSG_DateTime::Reset_Time ( void )

Definition at line 267 of file datetime.cpp.

References CSG_DateTime().

◆ Set() [1/5]

CSG_DateTime & CSG_DateTime::Set ( const CSG_DateTime & DateTime)

Definition at line 131 of file datetime.cpp.

References CSG_DateTime(), and Set().

Referenced by CSG_DateTime(), operator=(), operator=(), Set(), Set(), Set(), Set(), Set(), Set_Hours_AD(), and Set_Unix_Time().

◆ Set() [2/5]

CSG_DateTime & CSG_DateTime::Set ( const CSG_String & ISODate)

◆ Set() [3/5]

CSG_DateTime & CSG_DateTime::Set ( double JDN)

Definition at line 139 of file datetime.cpp.

References CSG_DateTime(), and Set().

◆ Set() [4/5]

CSG_DateTime & CSG_DateTime::Set ( TSG_DateTime Day,
Month Month,
int Year = Inv_Year,
TSG_DateTime Hour = 0,
TSG_DateTime Minute = 0,
TSG_DateTime Second = 0,
TSG_DateTime Millisec = 0 )

Definition at line 173 of file datetime.cpp.

References CSG_DateTime(), and Set().

◆ Set() [5/5]

CSG_DateTime & CSG_DateTime::Set ( TSG_DateTime Hour,
TSG_DateTime Minute = 0,
TSG_DateTime Second = 0,
TSG_DateTime Millisec = 0 )

Definition at line 165 of file datetime.cpp.

References CSG_DateTime(), and Set().

◆ Set_Day()

CSG_DateTime & CSG_DateTime::Set_Day ( unsigned short Value)

Definition at line 227 of file datetime.cpp.

References CSG_DateTime().

◆ Set_DayOfYear()

CSG_DateTime & CSG_DateTime::Set_DayOfYear ( unsigned short Value)

Definition at line 251 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Hour() [1/2]

CSG_DateTime & CSG_DateTime::Set_Hour ( double Value)

Definition at line 212 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Hour() [2/2]

CSG_DateTime & CSG_DateTime::Set_Hour ( unsigned short Value)

Definition at line 205 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Hours_AD()

CSG_DateTime & CSG_DateTime::Set_Hours_AD ( int Hours)

Definition at line 615 of file datetime.cpp.

References CSG_DateTime(), and Set().

◆ Set_Millisecond()

CSG_DateTime & CSG_DateTime::Set_Millisecond ( unsigned short Value)

Definition at line 181 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Minute()

CSG_DateTime & CSG_DateTime::Set_Minute ( unsigned short Value)

Definition at line 197 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Month()

CSG_DateTime & CSG_DateTime::Set_Month ( unsigned short Value)

Definition at line 235 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Second()

CSG_DateTime & CSG_DateTime::Set_Second ( unsigned short Value)

Definition at line 189 of file datetime.cpp.

References CSG_DateTime().

◆ Set_To_Current()

CSG_DateTime & CSG_DateTime::Set_To_Current ( void )

Definition at line 259 of file datetime.cpp.

References CSG_DateTime().

◆ Set_Unix_Time()

CSG_DateTime & CSG_DateTime::Set_Unix_Time ( sLong Seconds)

Definition at line 598 of file datetime.cpp.

References CSG_DateTime(), and Set().

◆ Set_Year()

CSG_DateTime & CSG_DateTime::Set_Year ( int Value)

Definition at line 243 of file datetime.cpp.

References CSG_DateTime().

◆ Subtract() [1/3]

CSG_TimeSpan CSG_DateTime::Subtract ( const CSG_DateTime & DateTime) const

Definition at line 354 of file datetime.cpp.

References CSG_DateTime().

◆ Subtract() [2/3]

CSG_DateTime & CSG_DateTime::Subtract ( const CSG_TimeSpan & TimeSpan)

Definition at line 346 of file datetime.cpp.

References CSG_DateTime(), and Subtract().

◆ Subtract() [3/3]

CSG_DateTime CSG_DateTime::Subtract ( const CSG_TimeSpan & TimeSpan) const

Definition at line 339 of file datetime.cpp.

References CSG_DateTime(), and Subtract().

Referenced by operator-(), operator-(), operator-=(), Subtract(), and Subtract().

◆ To_UTC()

CSG_DateTime CSG_DateTime::To_UTC ( bool noDST = false) const

Definition at line 288 of file datetime.cpp.

References CSG_DateTime().


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