Sha256: 9033ab0aa3932407a1083ffa69c0ad6bd26ab8712778489ba6122660065dac3a

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 Bytes

Contents

module OData4
  module Properties
    # Defines the DateTimeOffset OData4 type.
    class DateTimeOffset < OData4::Properties::DateTime
      # The OData4 type name
      def type
        'Edm.DateTimeOffset'
      end

      protected

      def strptime_format
        '%Y-%m-%dT%H:%M:%S%:z'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
odata4-0.9.1 lib/odata4/properties/date_time_offset.rb
odata4-0.9.0 lib/odata4/properties/date_time_offset.rb
odata4-0.8.2 lib/odata4/properties/date_time_offset.rb
odata4-0.8.1 lib/odata4/properties/date_time_offset.rb
odata4-0.8.0 lib/odata4/properties/date_time_offset.rb
odata4-0.7.0 lib/odata4/properties/date_time_offset.rb