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
data
ArrayData
Date32Array(ArrowBuffer, ArrowBuffer, int, int, int)
public Date32Array(ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)
Parameters
valueBuffer
ArrowBuffernullBitmapBuffer
ArrowBufferlength
intnullCount
intoffset
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
GetDateTime(int)
Get the date at the specified index in the form of a DateTime object.
public DateTime? GetDateTime(int index)
Parameters
index
intIndex 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
index
intIndex at which to get the date.
Returns
- DateTimeOffset?
Returns a DateTimeOffset object, or
null
if there is no object at that index.