parse

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMmDd

func GetMmDd(dStr string) (time.Time, error)

GetMmDd returns time.Time with '01-02' format value,others location is default value.

func GetMmDdHhMm

func GetMmDdHhMm(dStr string) (time.Time, error)

GetMmDdHhMm returns time.Time with '01-02 15:04' format value,others location is default value.

func GetMmDdHhMmSs

func GetMmDdHhMmSs(dStr string) (time.Time, error)

GetMmDdHhMmSs returns time.Time with '01-02 15:04:05' format value,others location is default value.

func GetMmDdHhMmSsSss

func GetMmDdHhMmSsSss(dStr string) (time.Time, error)

GetMmDdHhMmSsSss returns time.Time with '01-02 15:04:05.000' format value,others location is default value.

func GetYyyyMm

func GetYyyyMm(dStr string) (time.Time, error)

GetYyyyMm returns time.Time with '2006-01' format value,others location is default value.

func GetYyyyMmDd

func GetYyyyMmDd(dStr string) (time.Time, error)

GetYyyyMmDd returns time.Time with '2006-01-02' format value,others location is default value.

func GetYyyyMmDdHhMm

func GetYyyyMmDdHhMm(dStr string) (time.Time, error)

GetYyyyMmDdHhMm returns time.Time with '2006-01-02 15:04' format value,others location is default value.

func GetYyyyMmDdHhMmSs

func GetYyyyMmDdHhMmSs(dStr string) (time.Time, error)

GetYyyyMmDdHhMmSs returns time.Time with '2006-01-02 15:04:05' format value,others location is default value.

func GetYyyyMmDdHhMmSsSss

func GetYyyyMmDdHhMmSsSss(dStr string) (time.Time, error)

GetYyyyMmDdHhMmSsSss returns time.Time with '2006-01-02 15:04:05.000' format value,others location is default value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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