Class WorkHoliday
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Day that is specified as not being a regular working day.
public class WorkHoliday : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
WorkHoliday
- Implements
- Inherited Members
Constructors
WorkHoliday()
Initializes a new instance of the WorkHoliday class.Initializes a new instance of the WorkHoliday class.
public WorkHoliday()
WorkHoliday(Id?, string?, DateTimeWithTimeZone?, WorkTimeHolidayGroupId?)
Initializes a new instance of the WorkHoliday class.Initializes a new instance of the WorkHoliday class.
public WorkHoliday(Id? id, string? name, DateTimeWithTimeZone? date, WorkTimeHolidayGroupId? holidayGroup)
Parameters
id
IdThe Id.
name
stringThe name.
date
DateTimeWithTimeZoneThe date.
holidayGroup
WorkTimeHolidayGroupIdID of the holiday group.
Properties
Date
Gets or sets the midnight of the work holiday.
public DateTimeWithTimeZone? Date { get; set; }
Property Value
HolidayGroup
Gets or sets the holiday group for this holiday day. See WorkTimeHolidayGroupId.
public WorkTimeHolidayGroupId? HolidayGroup { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.