Class: TD::Types::DateRange

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/date_range.rb

Overview

Represents a date range.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#end_dateInteger

Point in time (Unix timestamp) at which the date range ends.

Returns:

  • (Integer)

    the current value of end_date



6
7
8
# File 'lib/tdlib/types/date_range.rb', line 6

def end_date
  @end_date
end

#start_dateInteger

Point in time (Unix timestamp) at which the date range begins.

Returns:

  • (Integer)

    the current value of start_date



6
7
8
# File 'lib/tdlib/types/date_range.rb', line 6

def start_date
  @start_date
end