Class: IControl::Common::TimeStamp
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::Common::TimeStamp
- Defined in:
- lib/icontrol/common.rb,
lib/icontrol/common.rb
Overview
A struct that describes the current time.
Instance Attribute Summary (collapse)
-
- (Numeric) day
The day of the month, from 1 to 31.
-
- (Numeric) hour
The number of hours past midnight, from 0 to 23.
-
- (Numeric) minute
The number of minutes after the hour, from 0 to 59.
-
- (Numeric) month
The number of months since January, from 1 to 12.
-
- (Numeric) second
The number of seconds after the minute, from 0 to 59 (can be up to 61 to allow for leap seconds).
-
- (Numeric) year
The number of years since 0000.
Method Summary
Methods inherited from Base::Struct
from_soap, icontrol_attribute, #to_soap
Instance Attribute Details
- (Numeric) day
The day of the month, from 1 to 31.
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def day @day end |
- (Numeric) hour
The number of hours past midnight, from 0 to 23.
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def hour @hour end |
- (Numeric) minute
The number of minutes after the hour, from 0 to 59.
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def minute @minute end |
- (Numeric) month
The number of months since January, from 1 to 12.
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def month @month end |
- (Numeric) second
The number of seconds after the minute, from 0 to 59 (can be up to 61 to allow for leap seconds).
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def second @second end |
- (Numeric) year
The number of years since 0000.
202 203 204 |
# File 'lib/icontrol/common.rb', line 202 def year @year end |