Documentation ¶
Index ¶
- func Format(d Duration) string
- type Duration
- func (d *Duration) Format() string
- func (d *Duration) MarshalJSON() ([]byte, error)
- func (d *Duration) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (d *Duration) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
- func (d *Duration) Parse(iso8601 string) (Duration, error)
- func (d Duration) String() string
- func (d *Duration) UnmarshalJSON(data []byte) error
- func (d *Duration) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) error
- func (d *Duration) UnmarshalXMLAttr(attr xml.Attr) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Duration ¶
func (*Duration) MarshalJSON ¶
func (*Duration) MarshalXML ¶
func (*Duration) MarshalXMLAttr ¶
func (*Duration) UnmarshalJSON ¶
func (*Duration) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.