/TzPeriod

An object where the timezone offset and daylight savings are stored.

 

Property

Type

Length

Mandatory

Description

Comments

Property

Type

Length

Mandatory

Description

Comments

tzPeriodName

String

8

 

 

The name of the timezone, for example CET

fromDate

Date

 

Yes

 

The start date of the timezone offset

toDate

Date

 

Yes

 

The end date of the timezone offset

isDst

Boolean

 

 

 

Indicates whether or not the timezone offset is using the daylight savings.

offset

Integer

 

 

 

Timezone offset in seconds

 

To find a timezone offset for a given timezone and given date the following API query can be used:

/ws/rest/TzPeriod?filter=timezone.key(EQ){timezone.key}&filter=fromDate(LTE){givenDate}&filter=toDate(GTE){givenDate}

Â