Documentation ¶
Index ¶
- type Temperature
- type TimeOfDay
- func (t TimeOfDay) Hour() int
- func (t TimeOfDay) MarshalText() ([]byte, error)
- func (t TimeOfDay) Minute() int
- func (t TimeOfDay) NextOccuranceAfter(current time.Time) time.Time
- func (t TimeOfDay) Second() int
- func (t TimeOfDay) String() string
- func (t *TimeOfDay) UnmarshalText(data []byte) error
- func (t TimeOfDay) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Temperature ¶
type Temperature int
func ParseTemperature ¶
func ParseTemperature(input string) (Temperature, error)
func (Temperature) Float ¶
func (t Temperature) Float() float64
func (Temperature) String ¶
func (t Temperature) String() string
type TimeOfDay ¶
type TimeOfDay uint
func NewTimeOfDay ¶
func ParseTimeOfDay ¶
func (TimeOfDay) MarshalText ¶
func (TimeOfDay) NextOccuranceAfter ¶
func (*TimeOfDay) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.