jodatime

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(format string, date time.Time) string

Format formats a date based on joda conventions

func GetLayout

func GetLayout(format string) string

GetLayout convert JodaTime layout to golang stdlib time layout

func Parse

func Parse(format, value string) (time.Time, error)

Parse parses a value into a time.time

func ParseInLocation

func ParseInLocation(format, value, timezone string) (time.Time, error)

func ParseInLocationDirect

func ParseInLocationDirect(format, value string, timezone *time.Location) (time.Time, error)

func UnsafeString

func UnsafeString(b []byte) string

UnsafeString returns the string under byte buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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