Class NSChatOpeningHours

Chat topic opening hour. Carrier object for ChatOpeningHours.

Constructors

NSChatOpeningHours()

Initializes a new instance of the NSChatOpeningHours class.

Declaration

NSChatOpeningHours

Methods

GetFriEnabled()

Declaration

Bool GetFriEnabled()

Examples

NSChatOpeningHours thing;
Bool friEnabled = thing.GetFriEnabled();

Returns

Type Description
Bool Whether open on Fridays.

GetFriStart()

Declaration

TimeSpan GetFriStart()

Examples

NSChatOpeningHours thing;
TimeSpan friStart = thing.GetFriStart();

Returns

Type Description
TimeSpan When opening hours start on Fridays. Only time-part is used.

GetFriStop()

Declaration

TimeSpan GetFriStop()

Examples

NSChatOpeningHours thing;
TimeSpan friStop = thing.GetFriStop();

Returns

Type Description
TimeSpan When opening hours stop on Fridays. Only time-part is used.

GetMonEnabled()

Declaration

Bool GetMonEnabled()

Examples

NSChatOpeningHours thing;
Bool monEnabled = thing.GetMonEnabled();

Returns

Type Description
Bool Whether open on Mondays.

GetMonStart()

Declaration

TimeSpan GetMonStart()

Examples

NSChatOpeningHours thing;
TimeSpan monStart = thing.GetMonStart();

Returns

Type Description
TimeSpan When opening hours start on Mondays. Only time-part is used.

GetMonStop()

Declaration

TimeSpan GetMonStop()

Examples

NSChatOpeningHours thing;
TimeSpan monStop = thing.GetMonStop();

Returns

Type Description
TimeSpan When opening hours stop on Mondays. Only time-part is used.

GetSatEnabled()

Declaration

Bool GetSatEnabled()

Examples

NSChatOpeningHours thing;
Bool satEnabled = thing.GetSatEnabled();

Returns

Type Description
Bool Whether open on Saturdays.

GetSatStart()

Declaration

TimeSpan GetSatStart()

Examples

NSChatOpeningHours thing;
TimeSpan satStart = thing.GetSatStart();

Returns

Type Description
TimeSpan When opening hours start on Saturdays. Only time-part is used.

GetSatStop()

Declaration

TimeSpan GetSatStop()

Examples

NSChatOpeningHours thing;
TimeSpan satStop = thing.GetSatStop();

Returns

Type Description
TimeSpan When opening hours stop on Saturdays. Only time-part is used.

GetSunEnabled()

Declaration

Bool GetSunEnabled()

Examples

NSChatOpeningHours thing;
Bool sunEnabled = thing.GetSunEnabled();

Returns

Type Description
Bool Whether open on Sundays.

GetSunStart()

Declaration

TimeSpan GetSunStart()

Examples

NSChatOpeningHours thing;
TimeSpan sunStart = thing.GetSunStart();

Returns

Type Description
TimeSpan When opening hours start on Sundays. Only time-part is used.

GetSunStop()

Declaration

TimeSpan GetSunStop()

Examples

NSChatOpeningHours thing;
TimeSpan sunStop = thing.GetSunStop();

Returns

Type Description
TimeSpan When opening hours stop on Sundays. Only time-part is used.

GetThuEnabled()

Declaration

Bool GetThuEnabled()

Examples

NSChatOpeningHours thing;
Bool thuEnabled = thing.GetThuEnabled();

Returns

Type Description
Bool Whether open on Thursdays.

GetThuStart()

Declaration

TimeSpan GetThuStart()

Examples

NSChatOpeningHours thing;
TimeSpan thuStart = thing.GetThuStart();

Returns

Type Description
TimeSpan When opening hours start on Thursdays. Only time-part is used.

GetThuStop()

Declaration

TimeSpan GetThuStop()

Examples

NSChatOpeningHours thing;
TimeSpan thuStop = thing.GetThuStop();

Returns

Type Description
TimeSpan When opening hours stop on Thursdays. Only time-part is used.

GetTueEnabled()

Declaration

Bool GetTueEnabled()

Examples

NSChatOpeningHours thing;
Bool tueEnabled = thing.GetTueEnabled();

Returns

Type Description
Bool Whether open on Tuesdays.

GetTueStart()

Declaration

TimeSpan GetTueStart()

Examples

NSChatOpeningHours thing;
TimeSpan tueStart = thing.GetTueStart();

Returns

Type Description
TimeSpan When opening hours start on Tuesdays. Only time-part is used.

GetTueStop()

Declaration

TimeSpan GetTueStop()

Examples

NSChatOpeningHours thing;
TimeSpan tueStop = thing.GetTueStop();

Returns

Type Description
TimeSpan When opening hours stop on Tuesdays. Only time-part is used.

GetTzLocation()

Declaration

NSTimeZoneData GetTzLocation()

Examples

NSChatOpeningHours thing;
NSTimeZoneData tzLocation = thing.GetTzLocation();

Returns

Type Description
NSTimeZoneData Time zone used for the opening hours (start/stop times) for this topic.

GetWedEnabled()

Declaration

Bool GetWedEnabled()

Examples

NSChatOpeningHours thing;
Bool wedEnabled = thing.GetWedEnabled();

Returns

Type Description
Bool Whether open on Wednesdays.

GetWedStart()

Declaration

TimeSpan GetWedStart()

Examples

NSChatOpeningHours thing;
TimeSpan wedStart = thing.GetWedStart();

Returns

Type Description
TimeSpan When opening hours start on Wednesdays. Only time-part is used.

GetWedStop()

Declaration

TimeSpan GetWedStop()

Examples

NSChatOpeningHours thing;
TimeSpan wedStop = thing.GetWedStop();

Returns

Type Description
TimeSpan When opening hours stop on Wednesday. Only time-part is used.

SetFriEnabled(Bool)

Declaration

Void SetFriEnabled(Bool friEnabled)

Examples

NSChatOpeningHours thing;
Bool friEnabled;
thing.SetFriEnabled(friEnabled);

Parameters

Type Name Description
Bool friEnabled Whether open on Fridays.

Returns

Type Description
Void

SetFriStart(TimeSpan)

Declaration

Void SetFriStart(TimeSpan friStart)

Examples

NSChatOpeningHours thing;
TimeSpan friStart;
thing.SetFriStart(friStart);

Parameters

Type Name Description
TimeSpan friStart When opening hours start on Fridays. Only time-part is used.

Returns

Type Description
Void

SetFriStop(TimeSpan)

Declaration

Void SetFriStop(TimeSpan friStop)

Examples

NSChatOpeningHours thing;
TimeSpan friStop;
thing.SetFriStop(friStop);

Parameters

Type Name Description
TimeSpan friStop When opening hours stop on Fridays. Only time-part is used.

Returns

Type Description
Void

SetMonEnabled(Bool)

Declaration

Void SetMonEnabled(Bool monEnabled)

Examples

NSChatOpeningHours thing;
Bool monEnabled;
thing.SetMonEnabled(monEnabled);

Parameters

Type Name Description
Bool monEnabled Whether open on Mondays.

Returns

Type Description
Void

SetMonStart(TimeSpan)

Declaration

Void SetMonStart(TimeSpan monStart)

Examples

NSChatOpeningHours thing;
TimeSpan monStart;
thing.SetMonStart(monStart);

Parameters

Type Name Description
TimeSpan monStart When opening hours start on Mondays. Only time-part is used.

Returns

Type Description
Void

SetMonStop(TimeSpan)

Declaration

Void SetMonStop(TimeSpan monStop)

Examples

NSChatOpeningHours thing;
TimeSpan monStop;
thing.SetMonStop(monStop);

Parameters

Type Name Description
TimeSpan monStop When opening hours stop on Mondays. Only time-part is used.

Returns

Type Description
Void

SetSatEnabled(Bool)

Declaration

Void SetSatEnabled(Bool satEnabled)

Examples

NSChatOpeningHours thing;
Bool satEnabled;
thing.SetSatEnabled(satEnabled);

Parameters

Type Name Description
Bool satEnabled Whether open on Saturdays.

Returns

Type Description
Void

SetSatStart(TimeSpan)

Declaration

Void SetSatStart(TimeSpan satStart)

Examples

NSChatOpeningHours thing;
TimeSpan satStart;
thing.SetSatStart(satStart);

Parameters

Type Name Description
TimeSpan satStart When opening hours start on Saturdays. Only time-part is used.

Returns

Type Description
Void

SetSatStop(TimeSpan)

Declaration

Void SetSatStop(TimeSpan satStop)

Examples

NSChatOpeningHours thing;
TimeSpan satStop;
thing.SetSatStop(satStop);

Parameters

Type Name Description
TimeSpan satStop When opening hours stop on Saturdays. Only time-part is used.

Returns

Type Description
Void

SetSunEnabled(Bool)

Declaration

Void SetSunEnabled(Bool sunEnabled)

Examples

NSChatOpeningHours thing;
Bool sunEnabled;
thing.SetSunEnabled(sunEnabled);

Parameters

Type Name Description
Bool sunEnabled Whether open on Sundays.

Returns

Type Description
Void

SetSunStart(TimeSpan)

Declaration

Void SetSunStart(TimeSpan sunStart)

Examples

NSChatOpeningHours thing;
TimeSpan sunStart;
thing.SetSunStart(sunStart);

Parameters

Type Name Description
TimeSpan sunStart When opening hours start on Sundays. Only time-part is used.

Returns

Type Description
Void

SetSunStop(TimeSpan)

Declaration

Void SetSunStop(TimeSpan sunStop)

Examples

NSChatOpeningHours thing;
TimeSpan sunStop;
thing.SetSunStop(sunStop);

Parameters

Type Name Description
TimeSpan sunStop When opening hours stop on Sundays. Only time-part is used.

Returns

Type Description
Void

SetThuEnabled(Bool)

Declaration

Void SetThuEnabled(Bool thuEnabled)

Examples

NSChatOpeningHours thing;
Bool thuEnabled;
thing.SetThuEnabled(thuEnabled);

Parameters

Type Name Description
Bool thuEnabled Whether open on Thursdays.

Returns

Type Description
Void

SetThuStart(TimeSpan)

Declaration

Void SetThuStart(TimeSpan thuStart)

Examples

NSChatOpeningHours thing;
TimeSpan thuStart;
thing.SetThuStart(thuStart);

Parameters

Type Name Description
TimeSpan thuStart When opening hours start on Thursdays. Only time-part is used.

Returns

Type Description
Void

SetThuStop(TimeSpan)

Declaration

Void SetThuStop(TimeSpan thuStop)

Examples

NSChatOpeningHours thing;
TimeSpan thuStop;
thing.SetThuStop(thuStop);

Parameters

Type Name Description
TimeSpan thuStop When opening hours stop on Thursdays. Only time-part is used.

Returns

Type Description
Void

SetTueEnabled(Bool)

Declaration

Void SetTueEnabled(Bool tueEnabled)

Examples

NSChatOpeningHours thing;
Bool tueEnabled;
thing.SetTueEnabled(tueEnabled);

Parameters

Type Name Description
Bool tueEnabled Whether open on Tuesdays.

Returns

Type Description
Void

SetTueStart(TimeSpan)

Declaration

Void SetTueStart(TimeSpan tueStart)

Examples

NSChatOpeningHours thing;
TimeSpan tueStart;
thing.SetTueStart(tueStart);

Parameters

Type Name Description
TimeSpan tueStart When opening hours start on Tuesdays. Only time-part is used.

Returns

Type Description
Void

SetTueStop(TimeSpan)

Declaration

Void SetTueStop(TimeSpan tueStop)

Examples

NSChatOpeningHours thing;
TimeSpan tueStop;
thing.SetTueStop(tueStop);

Parameters

Type Name Description
TimeSpan tueStop When opening hours stop on Tuesdays. Only time-part is used.

Returns

Type Description
Void

SetTzLocation(NSTimeZoneData)

Declaration

Void SetTzLocation(NSTimeZoneData tzLocation)

Examples

NSChatOpeningHours thing;
NSTimeZoneData tzLocation;
thing.SetTzLocation(tzLocation);

Parameters

Type Name Description
NSTimeZoneData tzLocation Timezone used for the opening hours (start/stop times) for this topic.

Returns

Type Description
Void

SetWedEnabled(Bool)

Declaration

Void SetWedEnabled(Bool wedEnabled)

Examples

NSChatOpeningHours thing;
Bool wedEnabled;
thing.SetWedEnabled(wedEnabled);

Parameters

Type Name Description
Bool wedEnabled Whether open on Wednesdays.

Returns

Type Description
Void

SetWedStart(TimeSpan)

Declaration

Void SetWedStart(TimeSpan wedStart)

Examples

NSChatOpeningHours thing;
TimeSpan wedStart;
thing.SetWedStart(wedStart);

Parameters

Type Name Description
TimeSpan wedStart When opening hours start on Wednesdays. Only time-part is used.

Returns

Type Description
Void

SetWedStop(TimeSpan)

Declaration

Void SetWedStop(TimeSpan wedStop)

Examples

NSChatOpeningHours thing;
TimeSpan wedStop;
thing.SetWedStop(wedStop);

Parameters

Type Name Description
TimeSpan wedStop When opening hours stop on Wednesday. Only time-part is used.

Returns

Type Description
Void