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.2.2+incompatible
Published
Nov 19, 2015
Platform
linux/amd64
Imports
1 packages
Last checked
4 minutes ago

Tools for package owners.