deephaven_ib.time

Functionality for working with time in Deephaven and IB.

ib_to_j_instant(time)[source]

Convert an IB timestamp to a Java Instant.

Return type:

DType

to_ib_datetime(time, sub_sec=True)[source]

Convert a time to an IB timestamp string.

Parameters:
Return type:

str

unix_sec_to_j_instant(time)[source]

Convert Unix seconds since the epoch to a Java Instant.

Return type:

DType