Class TimePeriodWeeklyRecurring
Describing times that are recurring every week
Implements
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public sealed class TimePeriodWeeklyRecurring : TimePeriodSpecification, IEquatable<TimePeriodSpecification>
Constructors
TimePeriodWeeklyRecurring(string, List<DayOfWeek>, string, string)
Constructor
Declaration
public TimePeriodWeeklyRecurring(string name, List<DayOfWeek> days, string startTimeUtc, string endTimeUtc)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| List<DayOfWeek> | days | |
| string | startTimeUtc | |
| string | endTimeUtc |
Properties
Days
Days this is active
Declaration
public List<DayOfWeek> Days { get; }
Property Value
| Type | Description |
|---|---|
| List<DayOfWeek> |
EndTimeUtc
End time in the day (UTC) where this is active, formatted as ISO-8601
Declaration
public string EndTimeUtc { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartTimeUtc
Start time in the day (UTC) where this is active, formatted as ISO-8601
Declaration
public string StartTimeUtc { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Type hint for the remote API
Declaration
public override string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Equals(TimePeriodSpecification)
Equals
Declaration
public override bool Equals(TimePeriodSpecification other)
Parameters
| Type | Name | Description |
|---|---|---|
| TimePeriodSpecification | other |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
GetHashCode
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
ToString()
ToString
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |