Struct DuckDBInterval
- Namespace
- DuckDB.NET.Native
- Assembly
- DuckDB.NET.Bindings.dll
public readonly struct DuckDBInterval
- Inherited Members
-
Constructors
DuckDBInterval(int, int, ulong)
public DuckDBInterval(int months, int days, ulong micros)
Parameters
months
int
days
int
micros
ulong
Properties
Days
Property Value
- int
Micros
public ulong Micros { get; }
Property Value
- ulong
Months
public int Months { get; }
Property Value
- int
Methods
TryConvert(out TimeSpan?)
public bool TryConvert(out TimeSpan? timeSpan)
Parameters
timeSpan
TimeSpan?
Returns
- bool
Operators
explicit operator TimeSpan(DuckDBInterval)
public static explicit operator TimeSpan(DuckDBInterval interval)
Parameters
interval
DuckDBInterval
Returns
- TimeSpan
implicit operator DuckDBInterval(TimeSpan)
public static implicit operator DuckDBInterval(TimeSpan timeSpan)
Parameters
timeSpan
TimeSpan
Returns
- DuckDBInterval