timezoneapi

package
v0.0.0-...-f8dbd7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SystemTimeToFileTimeProc = kernel32.NewProc("SystemTimeToFileTime")
)

Functions

func FileTimeToSystemTime

func FileTimeToSystemTime(lpFileTime FILETIME) (time.Time, error)

func SystemTimeToFileTime

func SystemTimeToFileTime()

Types

type FILETIME

type FILETIME struct {
	DwLowDateTime  uint32
	DwHighDateTime uint32
}

func (FILETIME) ToUintPtr

func (F FILETIME) ToUintPtr() uintptr

type SYSTEMTIME

type SYSTEMTIME struct {
	// contains filtered or unexported fields
}

func (SYSTEMTIME) ToDate

func (S SYSTEMTIME) ToDate() time.Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL