
Constructors | |
| gmonth (unsigned short month) | |
| Initialize an instance with the month component. | |
| gmonth (unsigned short month, short zone_hours, short zone_minutes) | |
| Initialize an instance with the month component and time zone. | |
| gmonth (const gmonth &x, flags f=0, container *c=0) | |
| Copy constructor. | |
| virtual gmonth * | _clone (flags f=0, container *c=0) const |
| Copy the instance polymorphically. | |
| template<typename S> | |
| gmonth (istream< S > &s, flags f=0, container *c=0) | |
| Create an instance from a data representation stream. | |
| gmonth (const xercesc::DOMElement &e, flags f=0, container *c=0) | |
| Create an instance from a DOM element. | |
| gmonth (const xercesc::DOMAttr &a, flags f=0, container *c=0) | |
| Create an instance from a DOM Attribute. | |
| gmonth (const std::basic_string< C > &s, const xercesc::DOMElement *e, flags f=0, container *c=0) | |
| Create an instance from a string fragment. | |
Public Member Functions | |
| unsigned short | month () const |
| Get the month component. | |
| void | month (unsigned short m) |
| Set the month component. | |
The gmonth class represents a month of the year with an optional time zone.
| gmonth | ( | unsigned short | month | ) | [explicit] |
Initialize an instance with the month component.
When this constructor is used, the time zone is left unspecified.
| month | The month component. |
| gmonth | ( | unsigned short | month, | |
| short | zone_hours, | |||
| short | zone_minutes | |||
| ) |
Initialize an instance with the month component and time zone.
| month | The month component. | |
| zone_hours | The time zone hours component. | |
| zone_minutes | The time zone minutes component. |
Copy constructor.
| x | An instance to make a copy of. | |
| f | Flags to create the copy with. | |
| c | A pointer to the object that will contain the copy. |
Create an instance from a data representation stream.
| s | A stream to extract the data from. | |
| f | Flags to create the new instance with. | |
| c | A pointer to the object that will contain the new instance. |
Create an instance from a DOM element.
| e | A DOM element to extract the data from. | |
| f | Flags to create the new instance with. | |
| c | A pointer to the object that will contain the new instance. |
Create an instance from a DOM Attribute.
| a | A DOM attribute to extract the data from. | |
| f | Flags to create the new instance with. | |
| c | A pointer to the object that will contain the new instance. |
| gmonth | ( | const std::basic_string< C > & | s, | |
| const xercesc::DOMElement * | e, | |||
| flags | f = 0, |
|||
| container * | c = 0 | |||
| ) |
Create an instance from a string fragment.
| s | A string fragment to extract the data from. | |
| e | A pointer to DOM element containing the string fragment. | |
| f | Flags to create the new instance with. | |
| c | A pointer to the object that will contain the new instance. |
Copy the instance polymorphically.
| f | Flags to create the copy with. | |
| c | A pointer to the object that will contain the copy. |
| unsigned short month | ( | ) | const |
Get the month component.
| void month | ( | unsigned short | m | ) |
Set the month component.
| m | The new month component. |