Table of Contents

Class Date32Array

Namespace
Apache.Arrow
Assembly
Apache.Arrow.dll

The Date32Array class holds an array of dates in the Date32 format, where each date is stored as the number of days since the dawn of (UNIX) time.

public class Date32Array : PrimitiveArray<int>, IArrowArray, IDisposable, IReadOnlyList<int?>, IReadOnlyCollection<int?>, ICollection<int?>, IEnumerable<int?>, IReadOnlyList<DateTime?>, IReadOnlyCollection<DateTime?>, ICollection<DateTime?>, IEnumerable<DateTime?>, IEnumerable
Inheritance
Date32Array
Implements
Inherited Members

Constructors

Date32Array(ArrayData)

public Date32Array(ArrayData data)

Parameters

data ArrayData

Date32Array(ArrowBuffer, ArrowBuffer, int, int, int)

public Date32Array(ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)

Parameters

valueBuffer ArrowBuffer
nullBitmapBuffer ArrowBuffer
length int
nullCount int
offset int

Methods

Accept(IArrowArrayVisitor)

public override void Accept(IArrowArrayVisitor visitor)

Parameters

visitor IArrowArrayVisitor

GetDate(int)

[Obsolete("Use `GetDateTimeOffset()` instead")]
public DateTimeOffset? GetDate(int index)

Parameters

index int

Returns

DateTimeOffset?

GetDateTime(int)

Get the date at the specified index in the form of a DateTime object.

public DateTime? GetDateTime(int index)

Parameters

index int

Index at which to get the date.

Returns

DateTime?

Returns a DateTime object, or null if there is no object at that index.

Remarks

The Kind property of the returned object is set to Unspecified.

GetDateTimeOffset(int)

Get the date at the specified index in the form of a DateTimeOffset object.

public DateTimeOffset? GetDateTimeOffset(int index)

Parameters

index int

Index at which to get the date.

Returns

DateTimeOffset?

Returns a DateTimeOffset object, or null if there is no object at that index.