Table of Contents

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 Id

The Id.

name string

The name.

date DateTimeWithTimeZone

The date.

holidayGroup WorkTimeHolidayGroupId

ID of the holiday group.

Properties

Date

Gets or sets the midnight of the work holiday.

public DateTimeWithTimeZone? Date { get; set; }

Property Value

DateTimeWithTimeZone

The midnight of the work holiday.

HolidayGroup

Gets or sets the holiday group for this holiday day. See WorkTimeHolidayGroupId.

public WorkTimeHolidayGroupId? HolidayGroup { get; set; }

Property Value

WorkTimeHolidayGroupId

The holiday group Id.

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.