timequality

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TQ sdata.SDID

	ErrInvalidTimeQuality = errors.New("Invalid TimeQuality struct")
)

Functions

This section is empty.

Types

type TimeQuality

type TimeQuality struct {
	TzKnown      bool `sd5424:"tzKnown"`
	IsSynced     bool `sd5424:"isSynced"`
	SyncAccuracy *int `sd5424:"syncAccuracy"`
}

TimeQuality implements

func (TimeQuality) IsValid

func (tq TimeQuality) IsValid() bool

IsValid test the validity of a TimeQuality Structured Data

func (TimeQuality) Marshal5424

func (tq TimeQuality) Marshal5424() ([]byte, error)

Marshal5424 implements sdata.StructuredData

func (TimeQuality) SDID

func (tq TimeQuality) SDID() sdata.SDID

SDID implements sdata.StructuredData

Jump to

Keyboard shortcuts

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