Documentation ¶
Index ¶
- type Hour
- func (h Hour) Add(i int) Hour
- func (h Hour) Before(h2 Hour) bool
- func (h Hour) ISO8601() string
- func (h Hour) IsBetween(startOpt *Hour, end Hour) bool
- func (h Hour) MarshalJSON() ([]byte, error)
- func (h Hour) PersistencePrefix() persistence.Prefix
- func (h Hour) String() string
- func (h Hour) Sub(h2 Hour) int
- func (h *Hour) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hour ¶
type Hour struct {
// contains filtered or unexported fields
}
func NewHourFromPersistencePrefix ¶
func NewHourFromPersistencePrefix(p persistence.Prefix) (Hour, bool)
func (Hour) MarshalJSON ¶
func (Hour) PersistencePrefix ¶
func (h Hour) PersistencePrefix() persistence.Prefix
func (*Hour) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.