TDLib
Loading...
Searching...
No Matches
businessOpeningHoursInterval Class Referencefinal

Inherits Object.

Description

Describes an interval of time when the business is open.

Public Member Functions

 businessOpeningHoursInterval ()
 businessOpeningHoursInterval (int32 start_minute_, int32 end_minute_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int32 end_minute_
 The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 1-8*24*60.
int32 start_minute_
 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.

Static Public Attributes

static const std::int32_t ID = -1108322732
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ businessOpeningHoursInterval() [1/2]

businessOpeningHoursInterval ( )

Describes an interval of time when the business is open.

◆ businessOpeningHoursInterval() [2/2]

businessOpeningHoursInterval ( int32 start_minute_,
int32 end_minute_ )

Describes an interval of time when the business is open.

Parameters
[in]start_minute_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.
[in]end_minute_The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 1-8*24*60.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: