package
0.0.0-20230911064405-b779cef8f299
Repository: https://github.com/sap/go-dblib.git
Documentation: pkg.go.dev

# Functions

DurationAsASEDuration returns type time.Duration as type ASEDuration.
DurationFromDateTime returns duration based on passed time.Time.
DurationFromTime returns duration based on passed time.Time.
Epoch1753 returns the reference date of 01.01.1753 as the minimum date value for a datetime on a SQL Server.
Epoch1900 returns the reference date of 01.01.1900 that is required for asetype 'DATE', 'SHORTDATE', and 'DATETIME'.
EpochRataDie returns the reference date of Rata Die that is required for asetype 'BIGTIMEN'.
FractionalSecondToMillisecond returns a fractional second as millisecond.
MicrosecondsToTime takes the number of microseconds since time.Time{} and calculates the appropriate time.Time.
MillisecondToFractionalSecond returns milliseconds as fractional second.
TimeToMicroseconds converts a time.Time into the number of microseconds elapsed since time.Time{}.

# Constants

Base time-units in reference to ASEDuration.
Base time-units in reference to ASEDuration.
Base time-units in reference to ASEDuration.
Base time-units in reference to ASEDuration.
Base time-units in reference to ASEDuration.
Base time-units in reference to ASEDuration.

# Type aliases

ASEDuration is the reference time-unit as microseconds.