Show / Hide Table of Contents

Class NSChatOpeningHours

Chat topic opening hour. Carrier object for ChatOpeningHours.

Syntax

Constructors

NSChatOpeningHours()

Initializes a new instance of the NSChatOpeningHours class.

Declaration
NSChatOpeningHours

Methods

GetFriEnabled()

Declaration
Bool GetFriEnabled()
Returns
Type Description
Bool

Whether open on Fridays.

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

GetFriStart()

Declaration
TimeSpan GetFriStart()
Returns
Type Description
TimeSpan

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

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

GetFriStop()

Declaration
TimeSpan GetFriStop()
Returns
Type Description
TimeSpan

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

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

GetMonEnabled()

Declaration
Bool GetMonEnabled()
Returns
Type Description
Bool

Whether open on Mondays.

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

GetMonStart()

Declaration
TimeSpan GetMonStart()
Returns
Type Description
TimeSpan

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

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

GetMonStop()

Declaration
TimeSpan GetMonStop()
Returns
Type Description
TimeSpan

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

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

GetSatEnabled()

Declaration
Bool GetSatEnabled()
Returns
Type Description
Bool

Whether open on Saturdays.

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

GetSatStart()

Declaration
TimeSpan GetSatStart()
Returns
Type Description
TimeSpan

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

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

GetSatStop()

Declaration
TimeSpan GetSatStop()
Returns
Type Description
TimeSpan

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

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

GetSunEnabled()

Declaration
Bool GetSunEnabled()
Returns
Type Description
Bool

Whether open on Sundays.

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

GetSunStart()

Declaration
TimeSpan GetSunStart()
Returns
Type Description
TimeSpan

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

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

GetSunStop()

Declaration
TimeSpan GetSunStop()
Returns
Type Description
TimeSpan

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

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

GetThuEnabled()

Declaration
Bool GetThuEnabled()
Returns
Type Description
Bool

Whether open on Thursdays.

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

GetThuStart()

Declaration
TimeSpan GetThuStart()
Returns
Type Description
TimeSpan

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

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

GetThuStop()

Declaration
TimeSpan GetThuStop()
Returns
Type Description
TimeSpan

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

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

GetTueEnabled()

Declaration
Bool GetTueEnabled()
Returns
Type Description
Bool

Whether open on Tuesdays.

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

GetTueStart()

Declaration
TimeSpan GetTueStart()
Returns
Type Description
TimeSpan

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

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

GetTueStop()

Declaration
TimeSpan GetTueStop()
Returns
Type Description
TimeSpan

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

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

GetTzLocation()

Declaration
NSTimeZoneData GetTzLocation()
Returns
Type Description
NSTimeZoneData

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

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

GetWedEnabled()

Declaration
Bool GetWedEnabled()
Returns
Type Description
Bool

Whether open on Wednesdays.

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

GetWedStart()

Declaration
TimeSpan GetWedStart()
Returns
Type Description
TimeSpan

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

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

GetWedStop()

Declaration
TimeSpan GetWedStop()
Returns
Type Description
TimeSpan

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

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

SetFriEnabled(Bool)

Declaration
Void SetFriEnabled(Bool friEnabled)
Parameters
Type Name Description
Bool friEnabled

Whether open on Fridays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool friEnabled;
thing.SetFriEnabled(friEnabled);

SetFriStart(TimeSpan)

Declaration
Void SetFriStart(TimeSpan friStart)
Parameters
Type Name Description
TimeSpan friStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan friStart;
thing.SetFriStart(friStart);

SetFriStop(TimeSpan)

Declaration
Void SetFriStop(TimeSpan friStop)
Parameters
Type Name Description
TimeSpan friStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan friStop;
thing.SetFriStop(friStop);

SetMonEnabled(Bool)

Declaration
Void SetMonEnabled(Bool monEnabled)
Parameters
Type Name Description
Bool monEnabled

Whether open on Mondays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool monEnabled;
thing.SetMonEnabled(monEnabled);

SetMonStart(TimeSpan)

Declaration
Void SetMonStart(TimeSpan monStart)
Parameters
Type Name Description
TimeSpan monStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan monStart;
thing.SetMonStart(monStart);

SetMonStop(TimeSpan)

Declaration
Void SetMonStop(TimeSpan monStop)
Parameters
Type Name Description
TimeSpan monStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan monStop;
thing.SetMonStop(monStop);

SetSatEnabled(Bool)

Declaration
Void SetSatEnabled(Bool satEnabled)
Parameters
Type Name Description
Bool satEnabled

Whether open on Saturdays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool satEnabled;
thing.SetSatEnabled(satEnabled);

SetSatStart(TimeSpan)

Declaration
Void SetSatStart(TimeSpan satStart)
Parameters
Type Name Description
TimeSpan satStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan satStart;
thing.SetSatStart(satStart);

SetSatStop(TimeSpan)

Declaration
Void SetSatStop(TimeSpan satStop)
Parameters
Type Name Description
TimeSpan satStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan satStop;
thing.SetSatStop(satStop);

SetSunEnabled(Bool)

Declaration
Void SetSunEnabled(Bool sunEnabled)
Parameters
Type Name Description
Bool sunEnabled

Whether open on Sundays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool sunEnabled;
thing.SetSunEnabled(sunEnabled);

SetSunStart(TimeSpan)

Declaration
Void SetSunStart(TimeSpan sunStart)
Parameters
Type Name Description
TimeSpan sunStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan sunStart;
thing.SetSunStart(sunStart);

SetSunStop(TimeSpan)

Declaration
Void SetSunStop(TimeSpan sunStop)
Parameters
Type Name Description
TimeSpan sunStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan sunStop;
thing.SetSunStop(sunStop);

SetThuEnabled(Bool)

Declaration
Void SetThuEnabled(Bool thuEnabled)
Parameters
Type Name Description
Bool thuEnabled

Whether open on Thursdays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool thuEnabled;
thing.SetThuEnabled(thuEnabled);

SetThuStart(TimeSpan)

Declaration
Void SetThuStart(TimeSpan thuStart)
Parameters
Type Name Description
TimeSpan thuStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan thuStart;
thing.SetThuStart(thuStart);

SetThuStop(TimeSpan)

Declaration
Void SetThuStop(TimeSpan thuStop)
Parameters
Type Name Description
TimeSpan thuStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan thuStop;
thing.SetThuStop(thuStop);

SetTueEnabled(Bool)

Declaration
Void SetTueEnabled(Bool tueEnabled)
Parameters
Type Name Description
Bool tueEnabled

Whether open on Tuesdays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool tueEnabled;
thing.SetTueEnabled(tueEnabled);

SetTueStart(TimeSpan)

Declaration
Void SetTueStart(TimeSpan tueStart)
Parameters
Type Name Description
TimeSpan tueStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan tueStart;
thing.SetTueStart(tueStart);

SetTueStop(TimeSpan)

Declaration
Void SetTueStop(TimeSpan tueStop)
Parameters
Type Name Description
TimeSpan tueStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan tueStop;
thing.SetTueStop(tueStop);

SetTzLocation(NSTimeZoneData)

Declaration
Void SetTzLocation(NSTimeZoneData tzLocation)
Parameters
Type Name Description
NSTimeZoneData tzLocation

Timezone used for the opening hours (start/stop times) for this topic.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
NSTimeZoneData tzLocation;
thing.SetTzLocation(tzLocation);

SetWedEnabled(Bool)

Declaration
Void SetWedEnabled(Bool wedEnabled)
Parameters
Type Name Description
Bool wedEnabled

Whether open on Wednesdays.

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
Bool wedEnabled;
thing.SetWedEnabled(wedEnabled);

SetWedStart(TimeSpan)

Declaration
Void SetWedStart(TimeSpan wedStart)
Parameters
Type Name Description
TimeSpan wedStart

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan wedStart;
thing.SetWedStart(wedStart);

SetWedStop(TimeSpan)

Declaration
Void SetWedStop(TimeSpan wedStop)
Parameters
Type Name Description
TimeSpan wedStop

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

Returns
Type Description
Void
Examples
NSChatOpeningHours thing;
TimeSpan wedStop;
thing.SetWedStop(wedStop);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top