package timeutil

import "github.com/coreos/etcd/pkg/timeutil"

Index

Functions

func UnixNanoToTime

func UnixNanoToTime(ns int64) time.Time

UnixNanoToTime returns the local time corresponding to the given Unix time in nanoseconds. If the given Unix time is zero, an uninitialized zero time is returned.

Source Files

timeutil.go

Version
v2.0.1+incompatible
Published
Feb 11, 2015
Platform
js/wasm
Imports
1 packages
Last checked
51 minutes ago

Tools for package owners.