Documentation
¶
Index ¶
- Variables
- type Clock
- func (c Clock) Add(d time.Duration) Clock
- func (c Clock) After(oc Clock) bool
- func (c Clock) Before(oc Clock) bool
- func (c Clock) Format() string
- func (c Clock) FormatInLayout(layout string) string
- func (c Clock) Hour() int
- func (c Clock) IsZero() bool
- func (c Clock) MarshalJSON() ([]byte, error)
- func (c Clock) Minute() int
- func (c Clock) Second() int
- func (c Clock) String() string
- func (c Clock) Sub(oc Clock) time.Duration
- func (c Clock) Time() time.Time
- func (c Clock) TimeAt(d date.Date, loc *time.Location) time.Time
- func (c *Clock) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Zero = Make(0, 0, 0)
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
func (Clock) FormatInLayout ¶
func (Clock) MarshalJSON ¶
func (*Clock) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.