Class Date32Array
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
dataArrayData
Date32Array(ArrowBuffer, ArrowBuffer, int, int, int)
public Date32Array(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.