API Reference

Struct

IcsTemporalValue

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Base ValueType
Implements
IEquatable<IcsTemporalValue>
Modifiers sealed

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.

Accepted by parameters

Methods

public Void ApplyTo(ContentLineProperty property) #
Returns: Void

Applies this value and its VALUE/TZID parameters to a property.

Parameters

property OfficeIMO.Email.ContentLineProperty requiredposition: 0
public static IcsTemporalValue Date(DateTime value) #
Returns: IcsTemporalValue

Creates a DATE value.

Parameters

value System.DateTime requiredposition: 0
Equals 2 overloads
public virtual Boolean Equals(IcsTemporalValue other) #
Returns: Boolean

Parameters

other OfficeIMO.Email.IcsTemporalValue requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public static IcsTemporalValue Floating(DateTime value) #
Returns: IcsTemporalValue

Creates a floating DATE-TIME value.

Parameters

value System.DateTime requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static IcsTemporalValue Parse(ContentLineProperty property) #
Returns: IcsTemporalValue

Parses a temporal content-line property.

Parameters

property OfficeIMO.Email.ContentLineProperty requiredposition: 0
public static Boolean TryParse(ContentLineProperty property, out IcsTemporalValue value) #
Returns: Boolean

Attempts to parse a temporal property while preserving DATE, floating, UTC, and TZID forms.

Parameters

property OfficeIMO.Email.ContentLineProperty requiredposition: 0
value OfficeIMO.Email.IcsTemporalValue@ requiredposition: 1
public static IcsTemporalValue Utc(DateTimeOffset value) #
Returns: IcsTemporalValue

Creates a UTC DATE-TIME value.

Parameters

value System.DateTimeOffset requiredposition: 0
public static IcsTemporalValue Zoned(DateTime localValue, String timeZoneId) #
Returns: IcsTemporalValue

Creates a TZID-local DATE-TIME value without resolving the identifier through the host OS.

Parameters

localValue System.DateTime requiredposition: 0
timeZoneId System.String requiredposition: 1

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.