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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetFriEnabled()
Returns
Type Description
Bool

Whether open on Fridays.

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

GetFriStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetMonEnabled()
Returns
Type Description
Bool

Whether open on Mondays.

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

GetMonStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetSatEnabled()
Returns
Type Description
Bool

Whether open on Saturdays.

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

GetSatStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetSunEnabled()
Returns
Type Description
Bool

Whether open on Sundays.

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

GetSunStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetThuEnabled()
Returns
Type Description
Bool

Whether open on Thursdays.

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

GetThuStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetTueEnabled()
Returns
Type Description
Bool

Whether open on Tuesdays.

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

GetTueStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

Declaration
Bool GetWedEnabled()
Returns
Type Description
Bool

Whether open on Wednesdays.

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

GetWedStart()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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()

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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)

Chat topic opening hour. Carrier object for ChatOpeningHours.

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);
In This Article
  • Constructors
    • NSChatOpeningHours()
  • Methods
    • GetFriEnabled()
    • GetFriStart()
    • GetFriStop()
    • GetMonEnabled()
    • GetMonStart()
    • GetMonStop()
    • GetSatEnabled()
    • GetSatStart()
    • GetSatStop()
    • GetSunEnabled()
    • GetSunStart()
    • GetSunStop()
    • GetThuEnabled()
    • GetThuStart()
    • GetThuStop()
    • GetTueEnabled()
    • GetTueStart()
    • GetTueStop()
    • GetTzLocation()
    • GetWedEnabled()
    • GetWedStart()
    • GetWedStop()
    • SetFriEnabled(Bool)
    • SetFriStart(TimeSpan)
    • SetFriStop(TimeSpan)
    • SetMonEnabled(Bool)
    • SetMonStart(TimeSpan)
    • SetMonStop(TimeSpan)
    • SetSatEnabled(Bool)
    • SetSatStart(TimeSpan)
    • SetSatStop(TimeSpan)
    • SetSunEnabled(Bool)
    • SetSunStart(TimeSpan)
    • SetSunStop(TimeSpan)
    • SetThuEnabled(Bool)
    • SetThuStart(TimeSpan)
    • SetThuStop(TimeSpan)
    • SetTueEnabled(Bool)
    • SetTueStart(TimeSpan)
    • SetTueStop(TimeSpan)
    • SetTzLocation(NSTimeZoneData)
    • SetWedEnabled(Bool)
    • SetWedStart(TimeSpan)
    • SetWedStop(TimeSpan)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top