times

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NilTime, _ = time.Parse(time.RFC3339, "0001-01-01T00:00:00Z")

Functions

This section is empty.

Types

type JavaTime

type JavaTime time.Time

func (JavaTime) Format

func (j JavaTime) Format(s string) string

Maybe a Format function for printing your date

func (JavaTime) MarshalJSON

func (j JavaTime) MarshalJSON() ([]byte, error)

func (*JavaTime) UnmarshalJSON

func (j *JavaTime) UnmarshalJSON(data []byte) error

Custom Java Time Marshaler and Unmarshaler interface

Jump to

Keyboard shortcuts

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