# Functions
AnyStringToQuarterTime returns the current time if in the current quarter or the end of any previous quarter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Distinct returns a time slice with distinct, or unique, times.
DT14ForInts returns a Dt8 value for a UTC year, month, day, hour, minute and second.
DT14ForString returns a DT14 value given a layout and value to parse to time.Parse.
DT6ForDT14 returns the Dt6 value for Dt14.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DT8ParseString returns a `DateTime8` value given a layout and value to parse to time.Parse.
DT8ParseUints returns a `DateTime8` value for year, month, and day.
No description provided by the author
No description provided by the author
No description provided by the author
DurationStringUnit converts a Duration to a string with a fixed time unit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FirstDayOfISOWeek returns a time.Time object for the first day of a given ISO week.
No description provided by the author
No description provided by the author
FormatDurationInfoMinSec returns the duration as a simple string like 01:01.
FormatQuarter takes quarter time and formats it using "Q# YYYY".
FormatQuarterYYQ takes quarter time and formats it using "'YY Q#".
FormatQuarter takes quarter time and formats it using "YYYY Q#".
FormatTimeMulti formats a `time.Time` object or an epoch number.
No description provided by the author
Reformat a time string from one format to another Deprecated...
Reformat a time string from one format to another.
No description provided by the author
No description provided by the author
No description provided by the author
GreaterTime returns the greater of two times.
No description provided by the author
InQuarterRange checks to see if the date is within 2 quarters.
No description provided by the author
InRange checks to see if a time is within a provided time range with options whether the start and end ranges are inclusive or exclusive.
No description provided by the author
IsDTX returns the dtx format if conformant to various DTX values (dt4, dt6, dt8, dt14).
IsGreaterThan compares two times and returns true if the left time is greater than the right time.
IsLessThan compares two times and returns true if the left time is less than the right time.
No description provided by the author
No description provided by the author
LesserTime returns the lesser of two times.
No description provided by the author
No description provided by the author
MaxTime returns maxTime if time in question is greater than max time.
No description provided by the author
MinMax takes two times and returns the earlier time first.
No description provided by the author
MinTime returns minTime if time in question is less than min time.
No description provided by the author
No description provided by the author
MonthToQuarter converts a month to a calendar quarter.
No description provided by the author
No description provided by the author
MustInQuarterRange returns whether a date is within 2 quarters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDurationInfo returns a DurationInfo struct for a duration in nanos.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OffsetFormat converts an integer offset value to a string value to use in string time formats.
No description provided by the author
ParseDuration adds days (d), weeks (w), years (y).
ParseDurationInfo converts a Jira human readable string into a `DurationInfo` struct.
ParseFirst attempts to parse a string with a set of layouts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseOrZero returns a parsed time.Time or the RFC-3339 zero time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseTimeRangeInterval takes a string in the form of `YYYY[MQHX]XX`.
No description provided by the author
ParseTimeSQLTimestampUsingOffset converts a SQL timestamp without timezone adding in a manual integer timezone.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuarterProjection takes a time and numeric value, estimating the value at the end of the quarter using a straight-line projection.
QuartersInt32RelToAbs is useful relative date queries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuarterToMonth converts a calendar quarter to a month.
No description provided by the author
SliceMinMax returns the min and max times of a time slice.
No description provided by the author
SubDuration subtracts one duration from another and returns the result as a `time.Duration`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeForDT14 returns a time.Time value given a Dt14 value.
TimeForDT6 returns a time.Time value given a Dt6 value.
No description provided by the author
TimeSeriesMinMax builds a time series based on supplied interval.
TimeSeriesSlice builds a time series based on supplied interval.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnixToDay converts an epoch in seconds to a time.Time for the day.
WeekdayNormalized ensures a `time.Weekday` value is within `[0,6]`.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
Jira XML Date format.
GMT time in format dd:mm:yy hh:mm.
an underscore results in a space.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
German DIN 5008 standard.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
ISO/IEC 9075 used by MySQL, BigQuery, etc.
ISO/IEC 9075 used by PostgreSQL.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
Golang zero value.
No description provided by the author
Ruby Time.now.to_s.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
More predefined layouts for use in Time.Format and time.Parse.
More predefined layouts for use in Time.Format and time.Parse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
DurationInfo is a struct that holds integer values for each time unit including hours, minutes, seconds milliseconds, microseconds, and nanoseconds.
DurationInfoString represets a set of time duration data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeMeta is a struct for holding various times related to a current time, including year start, quarter start, month start, and week start.
TimeMore is a struct for holding various times related to a current time, including year start, quarter start, month start, and week start.
TimeOpts represnts a struct for `time.Date`.
TimeRange represents a time range with a max and min value.
No description provided by the author
# Type aliases
DateTime8 represents a datetime `int32` value in the `yyyymmdd` format.
No description provided by the author
No description provided by the author
No description provided by the author
Times is a slice of `time.Time` that supports a number of functions and can be used for sorting, e.g.
A Yearquarter specifies a quarter of the year (Winter = 1, ...).