datetime.h File Reference

Classes

class  LocalDateTime
 
class  UniversalDateTime
 

Namespaces

 maxon
 
 maxon::timezone
 

Macros

#define DATETIME_FORMAT_ISO8601
 

Typedefs

using RemoteDateTime = LocalDateTime
 

Enumerations

enum class  DAYOFWEEK {
  MONDAY ,
  TUESDAY ,
  WEDNESDAY ,
  THURSDAY ,
  FRIDAY ,
  SATURDAY ,
  SUNDAY
}
 
enum class  DST : Int16 {
  AUTOMATIC ,
  NOTSET ,
  SET
}
 
enum class  JULIANDATE {
  STANDARD ,
  REDUCED ,
  MODIFIED ,
  LEGACY ,
  TRUNCATED ,
  DUBLIN ,
  LILIAN ,
  RATEDIE ,
  UNIXTIME ,
  MARSSOL
}
 

Functions

enum maxon::DAYOFWEEK MAXON_ENUM_LIST (DAYOFWEEK)
 
enum maxon::DST Int16 MAXON_ENUM_LIST (DST)
 
enum maxon::JULIANDATE MAXON_ENUM_LIST (JULIANDATE)
 
 MAXON_DATATYPE (UniversalDateTime, "net.maxon.datatype.universaldatetime")
 
 MAXON_DATATYPE (LocalDateTime, "net.maxon.datatype.localdatetime")
 
void ScanParameter (UniversalDateTime &res, const Block< const Utf32Char > &str, Int &processed, const String &formatStatement, Bool &error)
 

Variables

 MONDAY
 
 TUESDAY
 
 WEDNESDAY
 
 THURSDAY
 
 FRIDAY
 
 SATURDAY
 
 SUNDAY
 
const TimeValue GMT
 
const TimeValue CET
 
const TimeValue EET
 
const TimeValue PST
 
const TimeValue PNT
 
const TimeValue CAT
 
const TimeValue AKST
 
 AUTOMATIC
 
 NOTSET
 
 SET
 
 STANDARD
 
 REDUCED
 
 MODIFIED
 
 LEGACY
 
 TRUNCATED
 
 DUBLIN
 
 LILIAN
 
 RATEDIE
 
 UNIXTIME
 
 MARSSOL
 

Macro Definition Documentation

◆ DATETIME_FORMAT_ISO8601

#define DATETIME_FORMAT_ISO8601

Predefined datetime to format an ISO 8601 date string e.g. UniversalDateTime t; t.FormatTime(DATETIME_FORMAT_ISO8601) => "2019-11-28T16:12:13.000Z"

Variable Documentation

◆ MONDAY

MONDAY

Monday.

◆ TUESDAY

TUESDAY

Tuesday.

◆ WEDNESDAY

WEDNESDAY

Wednesday.

◆ THURSDAY

THURSDAY

Thursday.

◆ FRIDAY

FRIDAY

Friday.

◆ SATURDAY

SATURDAY

Saturday.

◆ SUNDAY

SUNDAY

Sunday.

◆ AUTOMATIC

AUTOMATIC

When a date-time object gets converted the Daylight Saving Time is automatically detected and added.

◆ NOTSET

NOTSET

When a date-time object gets converted the Daylight Saving Time is not added to the target time.

◆ SET

SET

When a date-time object gets converted the Daylight Saving Time is added to the target time.

◆ STANDARD

STANDARD

Standard variant with epoch of 12h Jan 1, 4713 BC.

◆ REDUCED

REDUCED

Reduced JD with epoch of 12h Nov 16, 1858.

◆ MODIFIED

MODIFIED

Modified variant with epoch of 0h Nov 17, 1858.

◆ LEGACY

LEGACY

Legacy mode with Julian Day + 0.5.

◆ TRUNCATED

TRUNCATED

Truncated variant with epoch of 0h May 24, 1968.

◆ DUBLIN

DUBLIN

Dublin variant with epoch of 12h Dec 31, 1899.

◆ LILIAN

LILIAN

Lilian variant with epoch of Oct 15, 1582[9].

◆ RATEDIE

RATEDIE

Rate Die variant with epoch of Jan 1, 1, proleptic Gregorian calendar.

◆ UNIXTIME

UNIXTIME

Unix Time variant with epoch of 0h Jan 1, 1970.

◆ MARSSOL

MARSSOL

Mars Sol Date variant with epoch of 12h Dec 29, 1873.