Method: OData::Properties::Time#value

Defined in:
lib/odata/properties/time.rb

#valueTime?

Returns the property value, properly typecast

Returns:



7
8
9
10
11
12
13
# File 'lib/odata/properties/time.rb', line 7

def value
  if @value.nil? && allow_nil?
    nil
  else
    ::Time.strptime(@value, '%H:%M:%S%:z')
  end
end