---
schema_version: "1"
id: 9317006c20abaaeb0fab3ace97f292fa4a576a5cecfe39543637e8b832260668
title: Holiday
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/objects/sforce-api-objects-holiday.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/sforce-api-objects-holiday.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 47fd409ff9fedf9cd8a5ee743dcb5bba5baf93100dc03d2ccb0976aa9987116a
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---

# Holiday

Represents the fields in the Holiday object that are used by Salesforce Scheduler. A holiday is a period during which your service resource is unavailable for appointment scheduling.

## Supported Calls

`create()`, `delete()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `update()`, `upsert()`

## Fields

### ActivityDate

-   **Type**: date
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: If the Holiday `IsAllDay` flag is set to `true` (indicating that it is an all-day holiday), then the holiday due date information is contained in the `ActivityDate` field. This field is a date field with a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone. The timestamp is not relevant, and you must not attempt to alter it to account for any time zone differences.

### Description

-   **Type**: string
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: Text description of the holiday.

### EndTimeInMinutes

-   **Type**: int
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: The end time of the holiday in minutes.

### IsAllDay

-   **Type**: boolean
-   **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
-   **Description**: Indicates whether the duration of the holiday is all day (`true`) or not (`false`).

### Name

-   **Type**: string
-   **Properties**: Create, Filter, Group, idLookup, Sort, Update
-   **Description**: The name of the holiday.

### StartTimeInMinutes

-   **Type**: int
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: The start time of the holiday in minutes.

