The Date::Month nested class is provided for month handling. It defines month
constants, and it can convert months in various formats.
As of this release locales are not implemented. This means only english named months
are accepted for conversions to or from strings.
Synopsis
#include <lyric/Date.hpp>
class Date::Month
{
public:
enum Val { January, February, March, April, May, June,
July, August, September, October, November, December };
~Date::Month ();
Date::Month (Val val);
Date::Month (uint8 intval);
Date::Month (const Date::Month& month);
Date::Month& operator = (const Date::Month& month);
operator uint8 () const;
Date::Month& operator << (const String& monthstr);
friend:
Date::String& operator << (Date::String& out,
const Date::Month& month);
};
Description