Plasma Engine  2.0
Loading...
Searching...
No Matches
plArgDateTime Struct Reference

Public Types

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

Public Member Functions

 plArgDateTime (const plDateTime &dateTime, plUInt32 uiFormattingFlags=Default)
 Initialized a formatting object for an plDateTime instance.
 

Public Attributes

plDateTime m_Value
 
plUInt32 m_uiFormattingFlags
 

Constructor & Destructor Documentation

◆ plArgDateTime()

plArgDateTime::plArgDateTime ( const plDateTime & dateTime,
plUInt32 uiFormattingFlags = Default )
inlineexplicit

Initialized a formatting object for an plDateTime instance.

Parameters
dateTimeThe plDateTime 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 timplone of the plDateTime object.

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