#include <it_bus/gyear.h>
Inheritance diagram for IT_Bus::GYear:

Definition at line 27 of file gyear.h.
Public Types | |
|
typedef IT_Reflect::ValueRef< IT_Bus::GYear > | IT_ReflectionType |
Public Member Functions | |
| GYear (short wYear=1) IT_THROW_DECL((Exception)) | |
| Constructor. | |
| GYear (const char *value) IT_THROW_DECL((Exception)) | |
| Constructor. | |
| GYear (const String &value) IT_THROW_DECL((Exception)) | |
| Constructor. | |
| GYear (const GYear ©) | |
| Copy constructor. | |
| virtual | ~GYear () |
| Destructor. | |
| virtual const QName & | get_type () const |
| Returns the IT_Bus::QName for the type. | |
| void | from_string (const String &str) IT_THROW_DECL((Exception)) |
| Sets the year represented by the instance. | |
| short | getYear () const |
| Returns a numeric representation of the year. | |
| void | setYear (short wYear) IT_THROW_DECL((Exception)) |
| Set the year represented by the instance from a numeric representation. | |
| bool | haveUTCTimeZoneOffset () const |
| Returns a flag indicating whether the UTC offset is set. | |
| void | setLocalTimeZone () |
| Sets the local time zone. | |
| void | getUTCTimeZoneOffset (short &hour_offset, short &minute_offset) const |
| Obtain the UTC offset. | |
| void | setUTCTimeZoneOffset (short hour_offset, short minute_offset) IT_THROW_DECL((Exception)) |
| Set the UTC offset. | |
| bool | operator== (const GYear &other) const |
| The equality operator. | |
| bool | operator!= (const GYear &other) const |
| The inequality operator. | |
| GYear & | operator= (const GYear &rhs) |
| Assignment operator. | |
Static Public Member Functions | |
| GYear &operator+=(const Duration | get_static_type ()&rhs) IT_THROW_DECL((IT_Bus GYear &static operator-=(const Duration &rhs) IT_THROW_DECL((IT_Bus const QName & |
| Duration subtraction with assignment operator. | |
Public Attributes | |
| virtual IT_Reflect::Reflection *virtual get_reflection() IT_THROW_DECL((IT_Reflect const IT_Reflect::Reflection *get_reflection() const IT_THROW_DECL((IT_Reflect Strin | to_string )() const |
| Returns the year represented by the instance. | |
Private Attributes | |
| GYearImpl * | m_impl |
| IT_Bus::GYear::GYear | ( | short | wYear = 1 |
) |
Constructor.
| wYear | the year, including the century. The default is 1 |
| Exception |
| IT_Bus::GYear::GYear | ( | const char * | value | ) |
| IT_Bus::GYear::GYear | ( | const String & | value | ) |
| void IT_Bus::GYear::from_string | ( | const String & | str | ) |
| virtual const QName& IT_Bus::GYear::get_type | ( | ) | const [virtual] |
| void IT_Bus::GYear::getUTCTimeZoneOffset | ( | short & | hour_offset, | |
| short & | minute_offset | |||
| ) | const |
Obtain the UTC offset.
Hour and minute offsets are returned via out parameters.
| short IT_Bus::GYear::getYear | ( | ) | const |
Returns a numeric representation of the year.
| bool IT_Bus::GYear::haveUTCTimeZoneOffset | ( | ) | const |
Returns a flag indicating whether the UTC offset is set.
| bool IT_Bus::GYear::operator!= | ( | const GYear & | other | ) | const |
The inequality operator.
| bool IT_Bus::GYear::operator== | ( | const GYear & | other | ) | const |
The equality operator.
| void IT_Bus::GYear::setUTCTimeZoneOffset | ( | short | hour_offset, | |
| short | minute_offset | |||
| ) |
Set the UTC offset.
| short | the hours offset | |
| short | the minutes offset |
| void IT_Bus::GYear::setYear | ( | short | wYear | ) |
Set the year represented by the instance from a numeric representation.
| short |
| virtual IT_Reflect::Reflection* virtual get_reflection () IT_THROW_DECL((IT_Reflect const IT_Reflect::Reflection* get_reflection () const IT_THROW_DECL((IT_Reflect Strin IT_Bus::GYear::to_string)() const |
1.4.7