Table of Contents

Struct TimeSpanNanos

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Represents a Parquet Time with Nanoseconds time unit.

public readonly struct TimeSpanNanos : IEquatable<TimeSpanNanos>
Implements
Inherited Members

Constructors

TimeSpanNanos(long)

public TimeSpanNanos(long ticks)

Parameters

ticks long

TimeSpanNanos(TimeSpan)

public TimeSpanNanos(TimeSpan timeSpan)

Parameters

timeSpan TimeSpan

Fields

Ticks

Number of nanoseconds since midnight.

public readonly long Ticks

Field Value

long

Properties

TimeSpan

Convert to System.TimeSpan with reduced precision.

public TimeSpan TimeSpan { get; }

Property Value

TimeSpan

Methods

Equals(TimeSpanNanos)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TimeSpanNanos other)

Parameters

other TimeSpanNanos

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.