Class CbrnOperatingScheduleType
A data type for a schedule providing the beginning and ending hours of operation by weekday, for a designated time period.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class CbrnOperatingScheduleType : IEquatable<CbrnOperatingScheduleType>
Properties
Context
cbrnOperatingScheduleType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public CbrnOperatingScheduleType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<CbrnOperatingScheduleType.ContextEnum> | cbrnOperatingScheduleType JSON-LD context |
ScheduleEndDateTime
A date when the schedule is no longer effective. If not provided, then the end date is considered to be indefinite. The end date, if provided, must be later than the start date. NIEM reference is cbrn:ScheduleEndDateTime
Declaration
[DataMember(Name = "scheduleEndDateTime")]
public List<NiemXsdateTime> ScheduleEndDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdateTime> | A date when the schedule is no longer effective. If not provided, then the end date is considered to be indefinite. The end date, if provided, must be later than the start date. NIEM reference is cbrn:ScheduleEndDateTime |
ScheduleStartDateTime
A date when a schedule is effective. NIEM reference is cbrn:ScheduleStartDateTime
Declaration
[DataMember(Name = "scheduleStartDateTime")]
public List<NiemXsdateTime> ScheduleStartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdateTime> | A date when a schedule is effective. NIEM reference is cbrn:ScheduleStartDateTime |
ScheduleTimeZone
A text identification of the time zone that applies to a schedule. NIEM reference is cbrn:ScheduleTimeZoneText
Declaration
[DataMember(Name = "scheduleTimeZone")]
public List<NcTextType> ScheduleTimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A text identification of the time zone that applies to a schedule. NIEM reference is cbrn:ScheduleTimeZoneText |
Methods
Equals(CbrnOperatingScheduleType)
Returns true if CbrnOperatingScheduleType instances are equal
Declaration
public bool Equals(CbrnOperatingScheduleType other)
Parameters
Type | Name | Description |
---|---|---|
CbrnOperatingScheduleType | other | Instance of CbrnOperatingScheduleType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(CbrnOperatingScheduleType, CbrnOperatingScheduleType)
Declaration
public static bool operator ==(CbrnOperatingScheduleType left, CbrnOperatingScheduleType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnOperatingScheduleType | left | |
CbrnOperatingScheduleType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(CbrnOperatingScheduleType, CbrnOperatingScheduleType)
Declaration
public static bool operator !=(CbrnOperatingScheduleType left, CbrnOperatingScheduleType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnOperatingScheduleType | left | |
CbrnOperatingScheduleType | right |
Returns
Type | Description |
---|---|
System.Boolean |