Table of Contents

Class TimeZoneInfoWithRules

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

true Timezone info with its day light saving rules.

public class TimeZoneInfoWithRules
Inheritance
TimeZoneInfoWithRules
Inherited Members

Constructors

TimeZoneInfoWithRules()

Initializes a new instance of the TimeZoneInfoWithRules class.

public TimeZoneInfoWithRules()

TimeZoneInfoWithRules(TimeZoneInfo, IEnumerable<TimeZoneInfoAdjustmentRule>, string)

Initializes a new instance of the TimeZoneInfoWithRules class.The constructor.

public TimeZoneInfoWithRules(TimeZoneInfo timeZoneInfo, IEnumerable<TimeZoneInfoAdjustmentRule> adjustmentRules, string timeZoneId)

Parameters

timeZoneInfo TimeZoneInfo

The. TimeZoneInfo

adjustmentRules IEnumerable<TimeZoneInfoAdjustmentRule>

An IEnumerable<T> of TimeZoneInfoAdjustmentRule

timeZoneId string

The Timezone identifier.

Properties

AdjustmentRules

Gets or sets daylight saving Adjustment rules.

public IEnumerable<TimeZoneInfoAdjustmentRule>? AdjustmentRules { get; set; }

Property Value

IEnumerable<TimeZoneInfoAdjustmentRule>

TimeZoneInfoAdjustmentRule

TimeZoneId

Gets or sets the Timezone identifier. This is the timeZoneId that was requested. Important because there are many timeZoneId that fall under a single TimeZoneInfo.id.

public string? TimeZoneId { get; set; }

Property Value

string

The Timezone identifier as a string

TimeZoneInfo

Gets or sets TimeZoneInfo.

public TimeZoneInfo? TimeZoneInfo { get; set; }

Property Value

TimeZoneInfo

TimeZoneInfo