Table of Contents

Class TimestampWithOffsetArray

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

Extension array for the "arrow.timestamp_with_offset" canonical extension type. Implements IReadOnlyList<T> of nullable DateTimeOffset.

public class TimestampWithOffsetArray : ExtensionArray, IArrowArray, IDisposable, IReadOnlyList<DateTimeOffset?>, IReadOnlyCollection<DateTimeOffset?>, IEnumerable<DateTimeOffset?>, IEnumerable
Inheritance
TimestampWithOffsetArray
Implements
Inherited Members
Extension Methods

Constructors

TimestampWithOffsetArray(TimestampWithOffsetType, IArrowArray)

public TimestampWithOffsetArray(TimestampWithOffsetType type, IArrowArray storage)

Parameters

type TimestampWithOffsetType
storage IArrowArray

Properties

Count

public int Count { get; }

Property Value

int

this[int]

public DateTimeOffset? this[int index] { get; }

Parameters

index int

Property Value

DateTimeOffset?

Methods

GetEnumerator()

public IEnumerator<DateTimeOffset?> GetEnumerator()

Returns

IEnumerator<DateTimeOffset?>

GetValue(int)

Gets the value at the specified index as a DateTimeOffset with the original timezone offset preserved.

public DateTimeOffset? GetValue(int index)

Parameters

index int

Returns

DateTimeOffset?