Skip to content

class Tourmaline::BusinessOpeningHoursInterval
inherits Reference #

Describes an interval of time during which a business is open.

Included modules

JSON::Serializable

Constructors#

.new(opening_minute, closing_minute) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#closing_minute : Int32 | Int64 #

The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60

View source

#closing_minute=(closing_minute : Int32 | Int64) #

The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60

View source

#opening_minute : Int32 | Int64 #

The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60

View source

#opening_minute=(opening_minute : Int32 | Int64) #

The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60

View source