Sha256: 053815653cb0fb9b718144464f2ec3af6d3064b44e7b3313f79b2002268d7eec

Contents?: true

Size: 356 Bytes

Versions: 3

Compression:

Stored size: 356 Bytes

Contents

module TD::Types
  # Represents a date according to the Gregorian calendar.
  #
  # @attr day [Integer] Day of the month, 1-31.
  # @attr month [Integer] Month, 1-12.
  # @attr year [Integer] Year, 1-9999.
  class Date < Base
    attribute :day, TD::Types::Integer
    attribute :month, TD::Types::Integer
    attribute :year, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/date.rb
tdlib-ruby-2.1.0 lib/tdlib/types/date.rb
tdlib-ruby-2.0.0 lib/tdlib/types/date.rb