125 s.clear(tistream::failbit);
147 out <<
d.DayOfMonth();
190 switch (TDate::PrintOption)
195 out <<
d.NameOfMonth() <<
_T(
" ") <<
d.DayOfMonth() <<
_T(
", ") <<
d.Year();
201 _stprintf(buf,
_T(
"%02u-%.3s-%.4u"),
d.DayOfMonth(),
d.NameOfMonth(),
d.Year());
209 out <<
d.Month() <<
_T(
"/") <<
d.DayOfMonth() <<
_T(
"/") <<
d.Year();
215 out <<
d.DayOfMonth() <<
_T(
"/") <<
d.Month() <<
_T(
"/") <<
d.Year();
221 out <<
d.DayOfMonth() <<
_T(
" ") <<
d.NameOfMonth() <<
_T(
" ") <<
d.Year();
The TDate class represents a date.
static MonthTy IndexOfMonth(const tstring &monthName)
Returns the number, 1-12, of the month named nameOfMonth.
static HowToPrint SetPrintOption(HowToPrint h)
Sets the print option for all TDate objects and returns the old setting.
tstring AsString() const
Converts the TDate object to a string object.
HowToPrint
Lists different print formats.
static JulTy Jday(MonthTy, DayTy, YearTy)
Convert Gregorian calendar date to the corresponding Julian day number j.
An instance of TProfile encapsulates a setting within a system file, often referred to as a profile o...
bool GetString(LPCTSTR key, TCHAR *buff, unsigned buffSize, LPCTSTR defaultString=0)
Looks up and returns the string value associated with the given key string.
Object Windows Library (OWLNext Core)
std::ostringstream tostringstream
owl::opstream & operator<<(owl::opstream &os, const TColor &c)
Insert the color value into a persistent output stream.
unsigned long JulTy
Julian calendar type.
owl::ipstream & operator>>(owl::ipstream &is, TColor &c)
Extract the color value from a persistent input stream.
ParseMonth(tistream &s, tchar *month)
#define _OWLSTATICFUNC(p)
Definition of TProfile class.