iso8601

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	// contains filtered or unexported fields
}

Duration of iso8601

func NewDuration

func NewDuration(years, months, days, hours, minutes, seconds string) (*Duration, error)

NewDuration return duration

func (Duration) ISO8601Duration

func (duration Duration) ISO8601Duration() string

ISO8601Duration to string

Jump to

Keyboard shortcuts

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