Sha256: db3497045ea0a1ae098e682cdc2ecd01e721b4df08f634e2a90e3378ec04af91

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 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::Coercible::Integer
    attribute :month, TD::Types::Coercible::Integer
    attribute :year, TD::Types::Coercible::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/date.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/date.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/date.rb