ezEngine  Release 25.03
ezArgDateTime Struct Reference

Public Types

enum  FormattingFlags {
  ShowDate = EZ_BIT(0), TextualDate = ShowDate | EZ_BIT(1), ShowWeekday = EZ_BIT(2), ShowTime = EZ_BIT(3),
  ShowSeconds = ShowTime | EZ_BIT(4), ShowMilliseconds = ShowSeconds | EZ_BIT(5), ShowTimeZone = EZ_BIT(6), Default = ShowDate | ShowSeconds,
  DefaultTextual = TextualDate | ShowSeconds
}
 

Public Member Functions

 ezArgDateTime (const ezDateTime &dateTime, ezUInt32 uiFormattingFlags=Default)
 Initialized a formatting object for an ezDateTime instance. More...
 

Public Attributes

ezDateTime m_Value
 
ezUInt32 m_uiFormattingFlags
 

Constructor & Destructor Documentation

◆ ezArgDateTime()

ezArgDateTime::ezArgDateTime ( const ezDateTime dateTime,
ezUInt32  uiFormattingFlags = Default 
)
inlineexplicit

Initialized a formatting object for an ezDateTime instance.

Parameters
dateTimeThe ezDateTime instance to format.
bUseNamesIndicates whether to use names for days of week and months (true) or a purely numerical representation (false).
bShowTimeZoneIndicatorWhether to indicate the timezone of the ezDateTime object.

The documentation for this struct was generated from the following file: