Class Time32Array
The Time32Array class holds an array of int, where each value is stored as the number of seconds/ milliseconds (depending on the Time32Type) since midnight.
public class Time32Array : PrimitiveArray<int>, IArrowArray, IDisposable, IReadOnlyList<int?>, IReadOnlyCollection<int?>, ICollection<int?>, IEnumerable<int?>, IEnumerable
- Inheritance
-
Time32Array
- Implements
- Inherited Members
Constructors
Time32Array(ArrayData)
public Time32Array(ArrayData data)
Parameters
dataArrayData
Time32Array(Time32Type, ArrowBuffer, ArrowBuffer, int, int, int)
public Time32Array(Time32Type type, ArrowBuffer valueBuffer, ArrowBuffer nullBitmapBuffer, int length, int nullCount, int offset)
Parameters
typeTime32TypevalueBufferArrowBuffernullBitmapBufferArrowBufferlengthintnullCountintoffsetint
Methods
Accept(IArrowArrayVisitor)
public override void Accept(IArrowArrayVisitor visitor)
Parameters
visitorIArrowArrayVisitor
GetMilliSeconds(int)
Get the time at the specified index as milliseconds
public int? GetMilliSeconds(int index)
Parameters
indexintIndex at which to get the time.
Returns
GetSeconds(int)
Get the time at the specified index as seconds
public int? GetSeconds(int index)
Parameters
indexintIndex at which to get the time.