Versions in this module Expand all Collapse all v0 v0.0.3 Apr 4, 2022 Changes in this version + type Xtime struct + Error error + func NewXtime() Xtime + func Time2Xtime(tt time.Time) Xtime + func (c *Xtime) Scan(v interface{}) error + func (c Xtime) AddCenturies(centuries int) Xtime + func (c Xtime) AddCenturiesNoOverflow(centuries int) Xtime + func (c Xtime) AddCentury() Xtime + func (c Xtime) AddCenturyNoOverflow() Xtime + func (c Xtime) AddDay() Xtime + func (c Xtime) AddDays(days int) Xtime + func (c Xtime) AddDecade() Xtime + func (c Xtime) AddDecadeNoOverflow() Xtime + func (c Xtime) AddDecades(decades int) Xtime + func (c Xtime) AddDecadesNoOverflow(decades int) Xtime + func (c Xtime) AddDuration(duration string) Xtime + func (c Xtime) AddHour() Xtime + func (c Xtime) AddHours(hours int) Xtime + func (c Xtime) AddMinute() Xtime + func (c Xtime) AddMinutes(minutes int) Xtime + func (c Xtime) AddMonth() Xtime + func (c Xtime) AddMonthNoOverflow() Xtime + func (c Xtime) AddMonths(months int) Xtime + func (c Xtime) AddMonthsNoOverflow(months int) Xtime + func (c Xtime) AddQuarter() Xtime + func (c Xtime) AddQuarterNoOverflow() Xtime + func (c Xtime) AddQuarters(quarters int) Xtime + func (c Xtime) AddQuartersNoOverflow(quarters int) Xtime + func (c Xtime) AddSecond() Xtime + func (c Xtime) AddSeconds(seconds int) Xtime + func (c Xtime) AddWeek() Xtime + func (c Xtime) AddWeeks(weeks int) Xtime + func (c Xtime) AddYear() Xtime + func (c Xtime) AddYearNoOverflow() Xtime + func (c Xtime) AddYears(years int) Xtime + func (c Xtime) AddYearsNoOverflow(years int) Xtime + func (c Xtime) Age() int + func (c Xtime) Between(start Xtime, end Xtime) bool + func (c Xtime) BetweenIncludedBoth(start Xtime, end Xtime) bool + func (c Xtime) BetweenIncludedEnd(start Xtime, end Xtime) bool + func (c Xtime) BetweenIncludedStart(start Xtime, end Xtime) bool + func (c Xtime) Century() int + func (c Xtime) Compare(operator string, t Xtime) bool + func (c Xtime) Constellation() string + func (c Xtime) CreateFromDate(year int, month int, day int, timezone ...string) Xtime + func (c Xtime) CreateFromDateTime(year int, month int, day int, hour int, minute int, second int, ...) Xtime + func (c Xtime) CreateFromTime(hour int, minute int, second int, timezone ...string) Xtime + func (c Xtime) CreateFromTimestamp(timestamp int64, timezone ...string) Xtime + func (c Xtime) Day() int + func (c Xtime) DayOfMonth() int + func (c Xtime) DayOfWeek() int + func (c Xtime) DayOfYear() int + func (c Xtime) DaysInMonth() int + func (c Xtime) DaysInYear() int + func (c Xtime) Decade() int + func (c Xtime) DiffForHumans(xtime ...Xtime) string + func (c Xtime) DiffInDays(xtime ...Xtime) int64 + func (c Xtime) DiffInDaysWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInHours(xtime ...Xtime) int64 + func (c Xtime) DiffInHoursWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInMinutes(xtime ...Xtime) int64 + func (c Xtime) DiffInMinutesWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInMonths(xtime ...Xtime) int64 + func (c Xtime) DiffInMonthsWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInSeconds(xtime ...Xtime) int64 + func (c Xtime) DiffInSecondsWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInString(xtime ...Xtime) string + func (c Xtime) DiffInStringWithAbs(xtime ...Xtime) string + func (c Xtime) DiffInWeeks(xtime ...Xtime) int64 + func (c Xtime) DiffInWeeksWithAbs(xtime ...Xtime) int64 + func (c Xtime) DiffInYears(xtime ...Xtime) int64 + func (c Xtime) DiffInYearsWithAbs(xtime ...Xtime) int64 + func (c Xtime) EndOfCentury() Xtime + func (c Xtime) EndOfDay() Xtime + func (c Xtime) EndOfDecade() Xtime + func (c Xtime) EndOfHour() Xtime + func (c Xtime) EndOfMinute() Xtime + func (c Xtime) EndOfMonth() Xtime + func (c Xtime) EndOfQuarter() Xtime + func (c Xtime) EndOfSeason() Xtime + func (c Xtime) EndOfSecond() Xtime + func (c Xtime) EndOfWeek() Xtime + func (c Xtime) EndOfYear() Xtime + func (c Xtime) Eq(t Xtime) bool + func (c Xtime) Format(format string, timezone ...string) string + func (c Xtime) Gt(t Xtime) bool + func (c Xtime) Gte(t Xtime) bool + func (c Xtime) Hour() int + func (c Xtime) IsApril() bool + func (c Xtime) IsAquarius() bool + func (c Xtime) IsAries() bool + func (c Xtime) IsAugust() bool + func (c Xtime) IsAutumn() bool + func (c Xtime) IsCancer() bool + func (c Xtime) IsCapricorn() bool + func (c Xtime) IsDecember() bool + func (c Xtime) IsFebruary() bool + func (c Xtime) IsFriday() bool + func (c Xtime) IsFuture() bool + func (c Xtime) IsGemini() bool + func (c Xtime) IsInvalid() bool + func (c Xtime) IsJanuary() bool + func (c Xtime) IsJuly() bool + func (c Xtime) IsJune() bool + func (c Xtime) IsLeapYear() bool + func (c Xtime) IsLeo() bool + func (c Xtime) IsLibra() bool + func (c Xtime) IsLongYear() bool + func (c Xtime) IsMarch() bool + func (c Xtime) IsMay() bool + func (c Xtime) IsMonday() bool + func (c Xtime) IsNovember() bool + func (c Xtime) IsNow() bool + func (c Xtime) IsOctober() bool + func (c Xtime) IsPast() bool + func (c Xtime) IsPisces() bool + func (c Xtime) IsSagittarius() bool + func (c Xtime) IsSaturday() bool + func (c Xtime) IsScorpio() bool + func (c Xtime) IsSeptember() bool + func (c Xtime) IsSpring() bool + func (c Xtime) IsSummer() bool + func (c Xtime) IsSunday() bool + func (c Xtime) IsTaurus() bool + func (c Xtime) IsThursday() bool + func (c Xtime) IsToday() bool + func (c Xtime) IsTomorrow() bool + func (c Xtime) IsTuesday() bool + func (c Xtime) IsVirgo() bool + func (c Xtime) IsWednesday() bool + func (c Xtime) IsWeekday() bool + func (c Xtime) IsWeekend() bool + func (c Xtime) IsWinter() bool + func (c Xtime) IsYesterday() bool + func (c Xtime) IsZero() bool + func (c Xtime) Layout(layout string, timezone ...string) string + func (c Xtime) Locale() string + func (c Xtime) Location() string + func (c Xtime) Lt(t Xtime) bool + func (c Xtime) Lte(t Xtime) bool + func (c Xtime) Lunar() (l lunar) + func (c Xtime) Microsecond() int + func (c Xtime) Millisecond() int + func (c Xtime) Minute() int + func (c Xtime) Month() int + func (c Xtime) MonthOfYear() int + func (c Xtime) Nanosecond() int + func (c Xtime) Ne(t Xtime) bool + func (c Xtime) Now(timezone ...string) Xtime + func (c Xtime) Offset() int + func (c Xtime) Parse(value string, timezone ...string) Xtime + func (c Xtime) ParseByFormat(value string, format string, timezone ...string) Xtime + func (c Xtime) ParseByLayout(value string, layout string, timezone ...string) Xtime + func (c Xtime) Quarter() (quarter int) + func (c Xtime) Season() string + func (c Xtime) Second() int + func (c Xtime) SetDay(day int) Xtime + func (c Xtime) SetHour(hour int) Xtime + func (c Xtime) SetLanguage(lang *Language) Xtime + func (c Xtime) SetLocale(locale string) Xtime + func (c Xtime) SetMicrosecond(microsecond int) Xtime + func (c Xtime) SetMillisecond(millisecond int) Xtime + func (c Xtime) SetMinute(minute int) Xtime + func (c Xtime) SetMonth(month int) Xtime + func (c Xtime) SetMonthNoOverflow(month int) Xtime + func (c Xtime) SetNanosecond(nanosecond int) Xtime + func (c Xtime) SetSecond(second int) Xtime + func (c Xtime) SetTimezone(name string) Xtime + func (c Xtime) SetWeekStartsAt(day string) Xtime + func (c Xtime) SetYear(year int) Xtime + func (c Xtime) SetYearNoOverflow(year int) Xtime + func (c Xtime) StartOfCentury() Xtime + func (c Xtime) StartOfDay() Xtime + func (c Xtime) StartOfDecade() Xtime + func (c Xtime) StartOfHour() Xtime + func (c Xtime) StartOfMinute() Xtime + func (c Xtime) StartOfMonth() Xtime + func (c Xtime) StartOfQuarter() Xtime + func (c Xtime) StartOfSeason() Xtime + func (c Xtime) StartOfSecond() Xtime + func (c Xtime) StartOfWeek() Xtime + func (c Xtime) StartOfYear() Xtime + func (c Xtime) String() string + func (c Xtime) SubCenturies(centuries int) Xtime + func (c Xtime) SubCenturiesNoOverflow(centuries int) Xtime + func (c Xtime) SubCentury() Xtime + func (c Xtime) SubCenturyNoOverflow() Xtime + func (c Xtime) SubDay() Xtime + func (c Xtime) SubDays(days int) Xtime + func (c Xtime) SubDecade() Xtime + func (c Xtime) SubDecadeNoOverflow() Xtime + func (c Xtime) SubDecades(decades int) Xtime + func (c Xtime) SubDecadesNoOverflow(decades int) Xtime + func (c Xtime) SubDuration(duration string) Xtime + func (c Xtime) SubHour() Xtime + func (c Xtime) SubHours(hours int) Xtime + func (c Xtime) SubMinute() Xtime + func (c Xtime) SubMinutes(minutes int) Xtime + func (c Xtime) SubMonth() Xtime + func (c Xtime) SubMonthNoOverflow() Xtime + func (c Xtime) SubMonths(months int) Xtime + func (c Xtime) SubMonthsNoOverflow(months int) Xtime + func (c Xtime) SubQuarter() Xtime + func (c Xtime) SubQuarterNoOverflow() Xtime + func (c Xtime) SubQuarters(quarters int) Xtime + func (c Xtime) SubQuartersNoOverflow(quarters int) Xtime + func (c Xtime) SubSecond() Xtime + func (c Xtime) SubSeconds(seconds int) Xtime + func (c Xtime) SubWeek() Xtime + func (c Xtime) SubWeeks(weeks int) Xtime + func (c Xtime) SubYear() Xtime + func (c Xtime) SubYearNoOverflow() Xtime + func (c Xtime) SubYears(years int) Xtime + func (c Xtime) SubYearsNoOverflow(years int) Xtime + func (c Xtime) Timestamp() int64 + func (c Xtime) TimestampWithMicrosecond() int64 + func (c Xtime) TimestampWithMillisecond() int64 + func (c Xtime) TimestampWithNanosecond() int64 + func (c Xtime) TimestampWithSecond() int64 + func (c Xtime) Timezone() string + func (c Xtime) ToAnsicString(timezone ...string) string + func (c Xtime) ToAtomString(timezone ...string) string + func (c Xtime) ToCookieString(timezone ...string) string + func (c Xtime) ToDateString(timezone ...string) string + func (c Xtime) ToDateTimeString(timezone ...string) string + func (c Xtime) ToDayDateTimeString(timezone ...string) string + func (c Xtime) ToFormatString(format string, timezone ...string) string + func (c Xtime) ToIso8601String(timezone ...string) string + func (c Xtime) ToKitchenString(timezone ...string) string + func (c Xtime) ToLayoutString(layout string, timezone ...string) string + func (c Xtime) ToMonthString(timezone ...string) string + func (c Xtime) ToRfc1036String(timezone ...string) string + func (c Xtime) ToRfc1123String(timezone ...string) string + func (c Xtime) ToRfc1123zString(timezone ...string) string + func (c Xtime) ToRfc2822String(timezone ...string) string + func (c Xtime) ToRfc3339String(timezone ...string) string + func (c Xtime) ToRfc7231String(timezone ...string) string + func (c Xtime) ToRfc822String(timezone ...string) string + func (c Xtime) ToRfc822zString(timezone ...string) string + func (c Xtime) ToRfc850String(timezone ...string) string + func (c Xtime) ToRssString(timezone ...string) string + func (c Xtime) ToRubyDateString(timezone ...string) string + func (c Xtime) ToShortDateString(timezone ...string) string + func (c Xtime) ToShortDateTimeString(timezone ...string) string + func (c Xtime) ToShortMonthString(timezone ...string) string + func (c Xtime) ToShortTimeString(timezone ...string) string + func (c Xtime) ToShortWeekString(timezone ...string) string + func (c Xtime) ToString(timezone ...string) string + func (c Xtime) ToTimeString(timezone ...string) string + func (c Xtime) ToUnixDateString(timezone ...string) string + func (c Xtime) ToW3cString(timezone ...string) string + func (c Xtime) ToWeekString(timezone ...string) string + func (c Xtime) Tomorrow(timezone ...string) Xtime + func (c Xtime) Value() (driver.Value, error) + func (c Xtime) Week() int + func (c Xtime) WeekOfMonth() int + func (c Xtime) WeekOfYear() int + func (c Xtime) Xtime2Time() time.Time + func (c Xtime) Year() int + func (c Xtime) Yesterday(timezone ...string) Xtime v0.0.2 Apr 4, 2022 Changes in this version + const AnsicFormat + const April + const August + const Bangkok + const Berlin + const CET + const Chicago + const Chongqing + const CookieFormat + const Cuba + const DateFormat + const DateTimeFormat + const DayDateTimeFormat + const DaysPerLeapYear + const DaysPerNormalYear + const DaysPerWeek + const December + const Dubai + const EET + const EST + const Egypt + const Eire + const February + const Friday + const GMT + const Greenwich + const Harbin + const HongKong + const HoursPerDay + const HoursPerWeek + const ISO8601Format + const Iceland + const Iran + const Israel + const Jamaica + const January + const Japan + const July + const June + const KitchenFormat + const Libya + const Local + const London + const LosAngeles + const MST + const Macao + const March + const May + const MicrosecondsPerMillisecond + const MicrosecondsPerSecond + const MillisecondsPerSecond + const MinutesPerDay + const MinutesPerHour + const Monday + const MonthsPerQuarter + const MonthsPerYear + const Moscow + const NewYork + const November + const October + const PRC + const Paris + const Poland + const Portugal + const QuartersPerYear + const RFC1036Format + const RFC1123Format + const RFC1123ZFormat + const RFC2822Format + const RFC3339Format + const RFC7231Format + const RFC822Format + const RFC822ZFormat + const RFC850Format + const Rome + const RssFormat + const RubyDateFormat + const Saigon + const Saturday + const SecondsPerDay + const SecondsPerHour + const SecondsPerMinute + const SecondsPerWeek + const Seoul + const September + const Shanghai + const ShortDateFormat + const ShortDateTimeFormat + const ShortTimeFormat + const Singapore + const Sunday + const Taipei + const Thursday + const TimeFormat + const Tokyo + const Tuesday + const Turkey + const UCT + const UTC + const UnixDateFormat + const Wednesday + const WeeksPerMonth + const WeeksPerNormalYear + const YearsPerCentury + const YearsPerDecade + const YearsPerMillennium + type Date struct + func (t *Date) UnmarshalJSON(b []byte) error + func (t Date) MarshalJSON() ([]byte, error) + type DateTime struct + func (t *DateTime) UnmarshalJSON(b []byte) error + func (t DateTime) MarshalJSON() ([]byte, error) + type Language struct + Error error + func NewLanguage() *Language + func (lang *Language) SetLocale(locale string) + func (lang *Language) SetResources(resources map[string]string) + type Time struct + Error error + func CreateFromDate(year int, month int, day int, timezone ...string) Time + func CreateFromDateTime(year int, month int, day int, hour int, minute int, second int, ...) Time + func CreateFromTime(hour int, minute int, second int, timezone ...string) Time + func CreateFromTimestamp(timestamp int64, timezone ...string) Time + func NewTime() Time + func Now(timezone ...string) Time + func Parse(value string, timezone ...string) Time + func ParseByFormat(value string, format string, timezone ...string) Time + func ParseByLayout(value string, layout string, timezone ...string) Time + func SetLanguage(lang *Language) Time + func SetLocale(locale string) Time + func SetTimezone(name string) Time + func Time2Time(tt time.Time) Time + func Tomorrow(timezone ...string) Time + func Yesterday(timezone ...string) Time + func (c *Time) Scan(v interface{}) error + func (c Time) AddCenturies(centuries int) Time + func (c Time) AddCenturiesNoOverflow(centuries int) Time + func (c Time) AddCentury() Time + func (c Time) AddCenturyNoOverflow() Time + func (c Time) AddDay() Time + func (c Time) AddDays(days int) Time + func (c Time) AddDecade() Time + func (c Time) AddDecadeNoOverflow() Time + func (c Time) AddDecades(decades int) Time + func (c Time) AddDecadesNoOverflow(decades int) Time + func (c Time) AddDuration(duration string) Time + func (c Time) AddHour() Time + func (c Time) AddHours(hours int) Time + func (c Time) AddMinute() Time + func (c Time) AddMinutes(minutes int) Time + func (c Time) AddMonth() Time + func (c Time) AddMonthNoOverflow() Time + func (c Time) AddMonths(months int) Time + func (c Time) AddMonthsNoOverflow(months int) Time + func (c Time) AddQuarter() Time + func (c Time) AddQuarterNoOverflow() Time + func (c Time) AddQuarters(quarters int) Time + func (c Time) AddQuartersNoOverflow(quarters int) Time + func (c Time) AddSecond() Time + func (c Time) AddSeconds(seconds int) Time + func (c Time) AddWeek() Time + func (c Time) AddWeeks(weeks int) Time + func (c Time) AddYear() Time + func (c Time) AddYearNoOverflow() Time + func (c Time) AddYears(years int) Time + func (c Time) AddYearsNoOverflow(years int) Time + func (c Time) Age() int + func (c Time) Between(start Time, end Time) bool + func (c Time) BetweenIncludedBoth(start Time, end Time) bool + func (c Time) BetweenIncludedEnd(start Time, end Time) bool + func (c Time) BetweenIncludedStart(start Time, end Time) bool + func (c Time) Century() int + func (c Time) Compare(operator string, t Time) bool + func (c Time) Constellation() string + func (c Time) CreateFromDate(year int, month int, day int, timezone ...string) Time + func (c Time) CreateFromDateTime(year int, month int, day int, hour int, minute int, second int, ...) Time + func (c Time) CreateFromTime(hour int, minute int, second int, timezone ...string) Time + func (c Time) CreateFromTimestamp(timestamp int64, timezone ...string) Time + func (c Time) Day() int + func (c Time) DayOfMonth() int + func (c Time) DayOfWeek() int + func (c Time) DayOfYear() int + func (c Time) DaysInMonth() int + func (c Time) DaysInYear() int + func (c Time) Decade() int + func (c Time) DiffForHumans(carbon ...Time) string + func (c Time) DiffInDays(carbon ...Time) int64 + func (c Time) DiffInDaysWithAbs(carbon ...Time) int64 + func (c Time) DiffInHours(carbon ...Time) int64 + func (c Time) DiffInHoursWithAbs(carbon ...Time) int64 + func (c Time) DiffInMinutes(carbon ...Time) int64 + func (c Time) DiffInMinutesWithAbs(carbon ...Time) int64 + func (c Time) DiffInMonths(carbon ...Time) int64 + func (c Time) DiffInMonthsWithAbs(carbon ...Time) int64 + func (c Time) DiffInSeconds(carbon ...Time) int64 + func (c Time) DiffInSecondsWithAbs(carbon ...Time) int64 + func (c Time) DiffInString(carbon ...Time) string + func (c Time) DiffInStringWithAbs(carbon ...Time) string + func (c Time) DiffInWeeks(carbon ...Time) int64 + func (c Time) DiffInWeeksWithAbs(carbon ...Time) int64 + func (c Time) DiffInYears(carbon ...Time) int64 + func (c Time) DiffInYearsWithAbs(carbon ...Time) int64 + func (c Time) EndOfCentury() Time + func (c Time) EndOfDay() Time + func (c Time) EndOfDecade() Time + func (c Time) EndOfHour() Time + func (c Time) EndOfMinute() Time + func (c Time) EndOfMonth() Time + func (c Time) EndOfQuarter() Time + func (c Time) EndOfSeason() Time + func (c Time) EndOfSecond() Time + func (c Time) EndOfWeek() Time + func (c Time) EndOfYear() Time + func (c Time) Eq(t Time) bool + func (c Time) Format(format string, timezone ...string) string + func (c Time) Gt(t Time) bool + func (c Time) Gte(t Time) bool + func (c Time) Hour() int + func (c Time) IsApril() bool + func (c Time) IsAquarius() bool + func (c Time) IsAries() bool + func (c Time) IsAugust() bool + func (c Time) IsAutumn() bool + func (c Time) IsCancer() bool + func (c Time) IsCapricorn() bool + func (c Time) IsDecember() bool + func (c Time) IsFebruary() bool + func (c Time) IsFriday() bool + func (c Time) IsFuture() bool + func (c Time) IsGemini() bool + func (c Time) IsInvalid() bool + func (c Time) IsJanuary() bool + func (c Time) IsJuly() bool + func (c Time) IsJune() bool + func (c Time) IsLeapYear() bool + func (c Time) IsLeo() bool + func (c Time) IsLibra() bool + func (c Time) IsLongYear() bool + func (c Time) IsMarch() bool + func (c Time) IsMay() bool + func (c Time) IsMonday() bool + func (c Time) IsNovember() bool + func (c Time) IsNow() bool + func (c Time) IsOctober() bool + func (c Time) IsPast() bool + func (c Time) IsPisces() bool + func (c Time) IsSagittarius() bool + func (c Time) IsSaturday() bool + func (c Time) IsScorpio() bool + func (c Time) IsSeptember() bool + func (c Time) IsSpring() bool + func (c Time) IsSummer() bool + func (c Time) IsSunday() bool + func (c Time) IsTaurus() bool + func (c Time) IsThursday() bool + func (c Time) IsToday() bool + func (c Time) IsTomorrow() bool + func (c Time) IsTuesday() bool + func (c Time) IsVirgo() bool + func (c Time) IsWednesday() bool + func (c Time) IsWeekday() bool + func (c Time) IsWeekend() bool + func (c Time) IsWinter() bool + func (c Time) IsYesterday() bool + func (c Time) IsZero() bool + func (c Time) Layout(layout string, timezone ...string) string + func (c Time) Locale() string + func (c Time) Location() string + func (c Time) Lt(t Time) bool + func (c Time) Lte(t Time) bool + func (c Time) Lunar() (l lunar) + func (c Time) Microsecond() int + func (c Time) Millisecond() int + func (c Time) Minute() int + func (c Time) Month() int + func (c Time) MonthOfYear() int + func (c Time) Nanosecond() int + func (c Time) Ne(t Time) bool + func (c Time) Now(timezone ...string) Time + func (c Time) Offset() int + func (c Time) Parse(value string, timezone ...string) Time + func (c Time) ParseByFormat(value string, format string, timezone ...string) Time + func (c Time) ParseByLayout(value string, layout string, timezone ...string) Time + func (c Time) Quarter() (quarter int) + func (c Time) Season() string + func (c Time) Second() int + func (c Time) SetDay(day int) Time + func (c Time) SetHour(hour int) Time + func (c Time) SetLanguage(lang *Language) Time + func (c Time) SetLocale(locale string) Time + func (c Time) SetMicrosecond(microsecond int) Time + func (c Time) SetMillisecond(millisecond int) Time + func (c Time) SetMinute(minute int) Time + func (c Time) SetMonth(month int) Time + func (c Time) SetMonthNoOverflow(month int) Time + func (c Time) SetNanosecond(nanosecond int) Time + func (c Time) SetSecond(second int) Time + func (c Time) SetTimezone(name string) Time + func (c Time) SetWeekStartsAt(day string) Time + func (c Time) SetYear(year int) Time + func (c Time) SetYearNoOverflow(year int) Time + func (c Time) StartOfCentury() Time + func (c Time) StartOfDay() Time + func (c Time) StartOfDecade() Time + func (c Time) StartOfHour() Time + func (c Time) StartOfMinute() Time + func (c Time) StartOfMonth() Time + func (c Time) StartOfQuarter() Time + func (c Time) StartOfSeason() Time + func (c Time) StartOfSecond() Time + func (c Time) StartOfWeek() Time + func (c Time) StartOfYear() Time + func (c Time) String() string + func (c Time) SubCenturies(centuries int) Time + func (c Time) SubCenturiesNoOverflow(centuries int) Time + func (c Time) SubCentury() Time + func (c Time) SubCenturyNoOverflow() Time + func (c Time) SubDay() Time + func (c Time) SubDays(days int) Time + func (c Time) SubDecade() Time + func (c Time) SubDecadeNoOverflow() Time + func (c Time) SubDecades(decades int) Time + func (c Time) SubDecadesNoOverflow(decades int) Time + func (c Time) SubDuration(duration string) Time + func (c Time) SubHour() Time + func (c Time) SubHours(hours int) Time + func (c Time) SubMinute() Time + func (c Time) SubMinutes(minutes int) Time + func (c Time) SubMonth() Time + func (c Time) SubMonthNoOverflow() Time + func (c Time) SubMonths(months int) Time + func (c Time) SubMonthsNoOverflow(months int) Time + func (c Time) SubQuarter() Time + func (c Time) SubQuarterNoOverflow() Time + func (c Time) SubQuarters(quarters int) Time + func (c Time) SubQuartersNoOverflow(quarters int) Time + func (c Time) SubSecond() Time + func (c Time) SubSeconds(seconds int) Time + func (c Time) SubWeek() Time + func (c Time) SubWeeks(weeks int) Time + func (c Time) SubYear() Time + func (c Time) SubYearNoOverflow() Time + func (c Time) SubYears(years int) Time + func (c Time) SubYearsNoOverflow(years int) Time + func (c Time) Time2Time() time.Time + func (c Time) Timestamp() int64 + func (c Time) TimestampWithMicrosecond() int64 + func (c Time) TimestampWithMillisecond() int64 + func (c Time) TimestampWithNanosecond() int64 + func (c Time) TimestampWithSecond() int64 + func (c Time) Timezone() string + func (c Time) ToAnsicString(timezone ...string) string + func (c Time) ToAtomString(timezone ...string) string + func (c Time) ToCookieString(timezone ...string) string + func (c Time) ToDateString(timezone ...string) string + func (c Time) ToDateTimeString(timezone ...string) string + func (c Time) ToDayDateTimeString(timezone ...string) string + func (c Time) ToFormatString(format string, timezone ...string) string + func (c Time) ToIso8601String(timezone ...string) string + func (c Time) ToKitchenString(timezone ...string) string + func (c Time) ToLayoutString(layout string, timezone ...string) string + func (c Time) ToMonthString(timezone ...string) string + func (c Time) ToRfc1036String(timezone ...string) string + func (c Time) ToRfc1123String(timezone ...string) string + func (c Time) ToRfc1123zString(timezone ...string) string + func (c Time) ToRfc2822String(timezone ...string) string + func (c Time) ToRfc3339String(timezone ...string) string + func (c Time) ToRfc7231String(timezone ...string) string + func (c Time) ToRfc822String(timezone ...string) string + func (c Time) ToRfc822zString(timezone ...string) string + func (c Time) ToRfc850String(timezone ...string) string + func (c Time) ToRssString(timezone ...string) string + func (c Time) ToRubyDateString(timezone ...string) string + func (c Time) ToShortDateString(timezone ...string) string + func (c Time) ToShortDateTimeString(timezone ...string) string + func (c Time) ToShortMonthString(timezone ...string) string + func (c Time) ToShortTimeString(timezone ...string) string + func (c Time) ToShortWeekString(timezone ...string) string + func (c Time) ToString(timezone ...string) string + func (c Time) ToTimeString(timezone ...string) string + func (c Time) ToUnixDateString(timezone ...string) string + func (c Time) ToW3cString(timezone ...string) string + func (c Time) ToWeekString(timezone ...string) string + func (c Time) Tomorrow(timezone ...string) Time + func (c Time) Value() (driver.Value, error) + func (c Time) Week() int + func (c Time) WeekOfMonth() int + func (c Time) WeekOfYear() int + func (c Time) Year() int + func (c Time) Yesterday(timezone ...string) Time + func (t *Time) UnmarshalJSON(b []byte) error + func (t Time) MarshalJSON() ([]byte, error) + type Timestamp struct + func (t *Timestamp) UnmarshalJSON(b []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + type TimestampWithMicrosecond struct + func (t *TimestampWithMicrosecond) UnmarshalJSON(b []byte) error + func (t TimestampWithMicrosecond) MarshalJSON() ([]byte, error) + type TimestampWithMillisecond struct + func (t *TimestampWithMillisecond) UnmarshalJSON(b []byte) error + func (t TimestampWithMillisecond) MarshalJSON() ([]byte, error) + type TimestampWithNanosecond struct + func (t *TimestampWithNanosecond) UnmarshalJSON(b []byte) error + func (t TimestampWithNanosecond) MarshalJSON() ([]byte, error) + type TimestampWithSecond struct + func (t *TimestampWithSecond) UnmarshalJSON(b []byte) error + func (t TimestampWithSecond) MarshalJSON() ([]byte, error)