#include <it_bus/time.h>
Inheritance diagram for IT_Bus::Time:

Definition at line 27 of file time.h.
Public Member Functions | |
| Time (short wHour=0, short wMinute=0, short wSecond=0, short wMilliseconds=0) throw ((Exception)) | |
| Constructor. | |
| Time (const char *value) throw ((Exception)) | |
| Constructor. | |
| Time (const String &value) throw ((Exception)) | |
| Constructor. | |
| Time (const Time ©) | |
| Copy constructor. | |
| virtual | ~Time () |
| Destructor. | |
| virtual AnyType & | copy (const AnyType &rhs) |
| Return a reference to a copy of the Time value provided as the argument. | |
| virtual void | write_value (AnySimpleTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
| Write the instance value. | |
| virtual void | read_value (AnySimpleTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
| Read the value into the instance. | |
| virtual AnyType::Kind | get_kind () const |
| Returns the IT_Bus::AnyType::Kind for the type. | |
| virtual const QName & | get_type () const |
| Returns the IT_Bus::AnyType::Kind for the type. | |
| virtual IT_Reflect::Reflection * | get_reflection () throw ((IT_Reflect::ReflectException)) |
| Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
| virtual const IT_Reflect::Reflection * | get_reflection () const throw ((IT_Reflect::ReflectException)) |
| Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
| String | to_string () const |
| Returns a string representation of the time. | |
| void | from_string (const String &str) throw ((Exception)) |
| Initializes this instance with the time corresponding to the string argument. | |
| short | getHour () const |
| Returns a numeric value for the hour corresponding to the time this instance represents. | |
| void | setHour (short wHour) throw ((Exception)) |
| Sets the value for the hour to the numeric value supplied as an argument. | |
| short | getMinute () const |
| Returns a numeric value for the minute corresponding to the time this instance represents. | |
| void | setMinute (short wMinute) throw ((Exception)) |
| Sets the value for the minute to the numeric value supplied as an argument. | |
| short | getSecond () const |
| Returns a numeric value for the seconds corresponding to the time this instance represents. | |
| void | setSecond (short wSecond) throw ((Exception)) |
| Sets the value for the seconds to the numeric value supplied as an argument. | |
| short | getMilliseconds () const |
| Returns a numeric value for the milliseconds corresponding to the time this instance represents. | |
| void | setMilliseconds (short wMilliseconds) throw ((Exception)) |
| Sets the value for the milliseconds to the numeric value supplied as an argument. | |
| bool | haveUTCTimeZoneOffset () const |
| Returns a bool indicating whether the instance has the UTC time zone offset set. | |
| void | setLocalTimeZone () |
| Set the instance to the local time zone. | |
| void | setUTCTimeZoneOffset (short hour_offset, short minute_offset) throw ((Exception)) |
| Set the UTC time zone offset to the values supplied as arguments. | |
| void | getUTCTimeZoneOffset (short &hour_offset, short &minute_offset) const |
| Obtain the UTC time zone offset values. | |
| bool | operator== (const Time &other) const |
| Equality operator. | |
| bool | operator!= (const Time &other) const |
| Inequality operator. | |
| Time & | operator= (const Time &rhs) |
| Assignment operator. | |
| Time & | operator+= (const Duration &rhs) throw ((IT_Bus::Exception)) |
| Duration addition with assignment operator. | |
| Time & | operator-= (const Duration &rhs) throw ((IT_Bus::Exception)) |
| Duration subtraction with assignment operator. | |
|
||||||||||||||||||||
|
Constructor.
|
|
|
Constructor.
|
|
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Destructor.
|
|
|
Return a reference to a copy of the Time value provided as the argument.
Reimplemented from IT_Bus::AnyType. |
|
|
Initializes this instance with the time corresponding to the string argument.
|
|
|
Returns the IT_Bus::AnyType::Kind for the type.
Reimplemented from IT_Bus::AnySimpleType. |
|
|
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
Reimplemented from IT_Bus::AnyType. |
|
|
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
Reimplemented from IT_Bus::AnyType. |
|
|
Returns the IT_Bus::AnyType::Kind for the type.
Implements IT_Bus::AnyType. |
|
|
Returns a numeric value for the hour corresponding to the time this instance represents.
|
|
|
Returns a numeric value for the milliseconds corresponding to the time this instance represents.
|
|
|
Returns a numeric value for the minute corresponding to the time this instance represents.
|
|
|
Returns a numeric value for the seconds corresponding to the time this instance represents.
|
|
||||||||||||
|
Obtain the UTC time zone offset values. The values are returned through the method arguments. |
|
|
Returns a bool indicating whether the instance has the UTC time zone offset set.
|
|
|
Inequality operator. Compares two times. |
|
|
Duration addition with assignment operator.
|
|
|
Duration subtraction with assignment operator.
|
|
|
Assignment operator.
|
|
|
Equality operator. Compares two times. |
|
|
Read the value into the instance. Derived classes implement this method. Implements IT_Bus::AnySimpleType. |
|
|
Sets the value for the hour to the numeric value supplied as an argument.
|
|
|
Set the instance to the local time zone.
|
|
|
Sets the value for the milliseconds to the numeric value supplied as an argument.
|
|
|
Sets the value for the minute to the numeric value supplied as an argument.
|
|
|
Sets the value for the seconds to the numeric value supplied as an argument.
|
|
||||||||||||
|
Set the UTC time zone offset to the values supplied as arguments.
|
|
|
Returns a string representation of the time.
|
|
|
Write the instance value. Derived classes implement this method. Implements IT_Bus::AnySimpleType. |
1.3.9.1