API Reference
IcsTemporalValue
A parsed iCalendar DATE or DATE-TIME value that retains its original time semantics.
Inheritance
- ValueType
- IcsTemporalValue
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Extension method ContentLineComponent.GetTemporalValue
- Method IcsComponentExtensions.GetTemporalValue
- Method IcsTemporalValue.Date
- Method IcsTemporalValue.Floating
- Method IcsTemporalValue.Parse
- Method IcsTemporalValue.Utc
- Method IcsTemporalValue.Zoned
- Property OutlookRecurrenceIcsException.End
- Property OutlookRecurrenceIcsException.OriginalStart
- Property OutlookRecurrenceIcsException.Start
- Property OutlookRecurrenceIcsExportResult.ExcludedDates
- Property OutlookRecurrenceIcsImportOptions.ExcludedDates
- Property OutlookRecurrenceIcsImportOptions.Start
Accepted by parameters
- Extension method ContentLineComponent.SetTemporalValue
- Method IcsComponentExtensions.SetTemporalValue
- Method IcsTemporalValue.Equals
- Method IcsTemporalValue.TryParse
Methods
public Void ApplyTo(ContentLineProperty property) #VoidApplies this value and its VALUE/TZID parameters to a property.
Parameters
- property OfficeIMO.Email.ContentLineProperty
public static IcsTemporalValue Date(DateTime value) #IcsTemporalValueCreates a DATE value.
Parameters
- value System.DateTime
public static IcsTemporalValue Floating(DateTime value) #IcsTemporalValueCreates a floating DATE-TIME value.
Parameters
- value System.DateTime
public static IcsTemporalValue Parse(ContentLineProperty property) #IcsTemporalValueParses a temporal content-line property.
Parameters
- property OfficeIMO.Email.ContentLineProperty
public static Boolean TryParse(ContentLineProperty property, out IcsTemporalValue value) #BooleanAttempts to parse a temporal property while preserving DATE, floating, UTC, and TZID forms.
Parameters
- property OfficeIMO.Email.ContentLineProperty
- value OfficeIMO.Email.IcsTemporalValue@
public static IcsTemporalValue Utc(DateTimeOffset value) #IcsTemporalValueCreates a UTC DATE-TIME value.
Parameters
- value System.DateTimeOffset
public static IcsTemporalValue Zoned(DateTime localValue, String timeZoneId) #IcsTemporalValueCreates a TZID-local DATE-TIME value without resolving the identifier through the host OS.
Parameters
- localValue System.DateTime
- timeZoneId System.String
Inherited Methods
Properties
public DateTime Value { get; } #Clock value. Inspect Kind before interpreting it.
public IcsTemporalValueKind Kind { get; } #Temporal representation kind.
public String TimeZoneId { get; } #TZID for ZonedDateTime.
public Boolean IsLeapSecond { get; } #Whether the parsed DATE-TIME used the RFC 5545 leap-second value 60. When true, Value is the normalized following instant while serialization restores second 60.