Class: IControl::Common::TimeZone

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/common.rb,
lib/icontrol/common.rb

Overview

A struct that describes the current time zone.

Instance Attribute Summary collapse

Instance Attribute Details

#gmt_offsetNumeric

The number of hours east of UTC.

Returns:

  • (Numeric)

    the current value of gmt_offset



216
217
218
# File 'lib/icontrol/common.rb', line 216

def gmt_offset
  @gmt_offset
end

#is_daylight_saving_timeObject

The daylight savings time is in effect.

Returns:

  • (Object)

    the current value of is_daylight_saving_time



216
217
218
# File 'lib/icontrol/common.rb', line 216

def is_daylight_saving_time
  @is_daylight_saving_time
end

#time_zoneString

The timezone abbreviation.

Returns:

  • (String)

    the current value of time_zone



216
217
218
# File 'lib/icontrol/common.rb', line 216

def time_zone
  @time_zone
end