Class NcScheduleDayType
A data type for a plan or agenda for the activities of a day.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcScheduleDayType : IEquatable<NcScheduleDayType>
Properties
Context
ncScheduleDayType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcScheduleDayType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcScheduleDayType.ContextEnum> | ncScheduleDayType JSON-LD context |
EndTime
A time at which an activity is scheduled to end. NIEM reference is nc:ScheduleDayEndTime
Declaration
[DataMember(Name = "endTime")]
public List<NiemXstime> EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXstime> | A time at which an activity is scheduled to end. NIEM reference is nc:ScheduleDayEndTime |
OfWeekCode
A day of the week with the given schedule information. NIEM reference is nc:ScheduleDayOfWeekCode
Declaration
[DataMember(Name = "ofWeekCode")]
public List<NcDayOfWeekCodeType> OfWeekCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDayOfWeekCodeType> | A day of the week with the given schedule information. NIEM reference is nc:ScheduleDayOfWeekCode |
ScheduleActivity
An activity planned to occur on a certain date and time. NIEM reference is nc:ScheduleActivityText
Declaration
[DataMember(Name = "scheduleActivity")]
public List<NcTextType> ScheduleActivity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An activity planned to occur on a certain date and time. NIEM reference is nc:ScheduleActivityText |
ScheduleByWeek
A schedule where the hours are the same for weekdays. NIEM reference is cbrn:ScheduleByWeek
Declaration
[DataMember(Name = "scheduleByWeek")]
public List<CbrnScheduleByWeekType> ScheduleByWeek { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CbrnScheduleByWeekType> | A schedule where the hours are the same for weekdays. NIEM reference is cbrn:ScheduleByWeek |
ScheduleByWeekDay
A schedule where the hours are not the same for weekdays. NIEM reference is cbrn:ScheduleByWeekDay
Declaration
[DataMember(Name = "scheduleByWeekDay")]
public List<CbrnScheduleByWeekDayType> ScheduleByWeekDay { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CbrnScheduleByWeekDayType> | A schedule where the hours are not the same for weekdays. NIEM reference is cbrn:ScheduleByWeekDay |
ScheduleDate
A date for which an activity is scheduled. NIEM reference is nc:ScheduleDate
Declaration
[DataMember(Name = "scheduleDate")]
public List<NcDateType> ScheduleDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date for which an activity is scheduled. NIEM reference is nc:ScheduleDate |
SchedulePerson
A person for whom an activity is scheduled. NIEM reference is nc:SchedulePerson
Declaration
[DataMember(Name = "schedulePerson")]
public List<NcPersonType> SchedulePerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person for whom an activity is scheduled. NIEM reference is nc:SchedulePerson |
ScheduleTimeRange
A time range for the schedule. NIEM reference is nc:ScheduleTimeRange
Declaration
[DataMember(Name = "scheduleTimeRange")]
public List<NcTimeRangeType> ScheduleTimeRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTimeRangeType> | A time range for the schedule. NIEM reference is nc:ScheduleTimeRange |
StartTime
A time at which an activity is scheduled to begin. NIEM reference is nc:ScheduleDayStartTime
Declaration
[DataMember(Name = "startTime")]
public List<NiemXstime> StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXstime> | A time at which an activity is scheduled to begin. NIEM reference is nc:ScheduleDayStartTime |
Status
A schedule status for a particular day. NIEM reference is nc:ScheduleDayStatus
Declaration
[DataMember(Name = "status")]
public List<NcStatusType> Status { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStatusType> | A schedule status for a particular day. NIEM reference is nc:ScheduleDayStatus |
Methods
Equals(NcScheduleDayType)
Returns true if NcScheduleDayType instances are equal
Declaration
public bool Equals(NcScheduleDayType other)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleDayType | other | Instance of NcScheduleDayType 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(NcScheduleDayType, NcScheduleDayType)
Declaration
public static bool operator ==(NcScheduleDayType left, NcScheduleDayType right)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleDayType | left | |
NcScheduleDayType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcScheduleDayType, NcScheduleDayType)
Declaration
public static bool operator !=(NcScheduleDayType left, NcScheduleDayType right)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleDayType | left | |
NcScheduleDayType | right |
Returns
Type | Description |
---|---|
System.Boolean |