Class Date64Array
The Date64Array class holds an array of dates in the Date64 format, where each date is
stored as the number of milliseconds since the dawn of (UNIX) time, excluding leap seconds, in multiples of
86400000.
public class Date64Array : PrimitiveArray<long>, IArrowArray, IDisposable, IReadOnlyList<long?>, IReadOnlyCollection<long?>, ICollection<long?>, IEnumerable<long?>, IReadOnlyList<DateTime?>, IReadOnlyCollection<DateTime?>, ICollection<DateTime?>, IEnumerable<DateTime?>, IEnumerable
- Inheritance
-
Date64Array
- Implements
- Inherited Members
Constructors
Date64Array(ArrayData)
public Date64Array(ArrayData data)
Parameters
dataArrayData
Date64Array(ArrowBuffer, ArrowBuffer, int, int, int)
public Date64Array(ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)
Parameters
valueBufferArrowBuffernullBitmapBufferArrowBufferlengthintnullCountintoffsetint
Methods
Accept(IArrowArrayVisitor)
public override void Accept(IArrowArrayVisitor visitor)
Parameters
visitorIArrowArrayVisitor
GetDate(int)
[Obsolete("Use `GetDateTimeOffset()` instead")]
public DateTimeOffset? GetDate(int index)
Parameters
indexint
Returns
GetDateTime(int)
Get the date at the specified index in the form of a DateTime object.
public DateTime? GetDateTime(int index)
Parameters
indexintIndex at which to get the date.
Returns
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
indexintIndex at which to get the date.
Returns
- DateTimeOffset?
Returns a DateTimeOffset object, or
nullif there is no object at that index.