Discover Packages
github.com/wyattis/z
ztime
package
Version:
v0.7.9
Opens a new window with list of versions in this module.
Published: Feb 1, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types IsWeekday(date) IsWeekend(date) ParseDuration(s) type ParseError
Documentation
¶
Returns true if the given date falls on a weekday
Returns true if the given date falls on a weekend
Extend version of ParseDuration. Source code is almost identical to
Supports day (d) and week (w) units as well as general month (M) and year (Y)
durations. Month is defined as 31 days and a year is 365 days.
ParseError describes a problem parsing a time string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.