• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TimeZoneComponent

A timezone sub-component (RFC 5545 §3.6.5), either STANDARD or DAYLIGHT, defining the offset and recurrence rules for a period.

Inheritance
object
TimeZoneComponent
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class TimeZoneComponent

Constructors

View Source

TimeZoneComponent(string, ICalDateTime, UtcOffset, UtcOffset, RecurrenceRule?, string?)

Initializes a new instance of the TimeZoneComponent class.

Declaration
public TimeZoneComponent(string type, ICalDateTime start, UtcOffset offsetFrom, UtcOffset offsetTo, RecurrenceRule? recurrenceRule, string? timeZoneName)
Parameters
Type Name Description
string type
ICalDateTime start
UtcOffset offsetFrom
UtcOffset offsetTo
RecurrenceRule recurrenceRule
string timeZoneName

Properties

View Source

OffsetFrom

Gets the offset that is in use before this sub-component (TZOFFSETFROM).

Declaration
public UtcOffset OffsetFrom { get; }
Property Value
Type Description
UtcOffset
View Source

OffsetTo

Gets the offset that is in use during this sub-component (TZOFFSETTO).

Declaration
public UtcOffset OffsetTo { get; }
Property Value
Type Description
UtcOffset
View Source

RecurrenceRule

Gets the recurrence rule for this sub-component (RRULE), or null.

Declaration
public RecurrenceRule? RecurrenceRule { get; }
Property Value
Type Description
RecurrenceRule
View Source

Start

Gets the start date-time of this sub-component.

Declaration
public ICalDateTime Start { get; }
Property Value
Type Description
ICalDateTime
View Source

TimeZoneName

Gets the timezone name (TZNAME), or null if not specified.

Declaration
public string? TimeZoneName { get; }
Property Value
Type Description
string
View Source

Type

Gets the component type (STANDARD or DAYLIGHT).

Declaration
public string Type { get; }
Property Value
Type Description
string
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX