Class VTimeZoneBuilder
Builder for constructing VTimeZone instances.
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class VTimeZoneBuilder
Methods
View SourceBuild()
Builds the VTimeZone.
Declaration
public VTimeZone Build()
Returns
| Type | Description |
|---|---|
| VTimeZone |
Component(string, Action<TimeZoneComponentBuilder>)
Adds a STANDARD or DAYLIGHT sub-component configured by the specified callback.
Declaration
public VTimeZoneBuilder Component(string type, Action<TimeZoneComponentBuilder> configure)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The type to use. |
| Action<TimeZoneComponentBuilder> | configure | Specifies the configure value. |
Returns
| Type | Description |
|---|---|
| VTimeZoneBuilder |
TimeZoneId(string)
Sets the timezone identifier (TZID).
Declaration
public VTimeZoneBuilder TimeZoneId(string timeZoneId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | timeZoneId | The time zone id identifier. |
Returns
| Type | Description |
|---|---|
| VTimeZoneBuilder |