Documentation ¶
Index ¶
- type BasicDate
- type BasicDateTime
- type BasicDateTimeNoMillis
- type BasicOrdinalDate
- type BasicOrdinalDateTime
- type BasicOrdinalDateTimeNoMillis
- type BasicTTime
- type BasicTTimeNoMillis
- type BasicTime
- type BasicTimeNoMillis
- type Date
- type DateHour
- type DateHourMinute
- type DateHourMinuteSecond
- type DateHourMinuteSecondFraction
- type DateHourMinuteSecondMillis
- type DateOptionalTime
- type DateTime
- type DateTimeNoMillis
- type Default
- type DefaultNano
- type DefaultNum
- type DefaultNumNano
- type EpochMillis
- type EpochSecond
- type Hour
- type HourMinute
- type HourMinuteSecond
- type HourMinuteSecondFraction
- type HourMinuteSecondMillis
- type OrdinalDate
- type OrdinalDateTime
- type OrdinalDateTimeNoMillis
- type StrictDate
- type StrictDateHour
- type StrictDateHourMinute
- type StrictDateHourMinuteSecond
- type StrictDateHourMinuteSecondFraction
- type StrictDateHourMinuteSecondMillis
- type StrictDateOptionalTime
- type StrictDateOptionalTimeNanos
- type StrictDateTime
- type StrictDateTimeNoMillis
- type StrictHour
- type StrictHourMinute
- type StrictHourMinuteSecond
- type StrictHourMinuteSecondFraction
- type StrictHourMinuteSecondMillis
- type StrictOrdinalDate
- type StrictOrdinalDateTime
- type StrictOrdinalDateTimeNoMillis
- type StrictTTime
- type StrictTTimeNoMillis
- type StrictTime
- type StrictTimeNoMillis
- type StrictYear
- type StrictYearMonth
- type StrictYearMonthDay
- type TTime
- type TTimeNoMillis
- type Time
- type TimeNoMillis
- type Year
- type YearMonth
- type YearMonthDay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicDate ¶
BasicDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date"
func (BasicDate) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*BasicDate) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type BasicDateTime ¶
BasicDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date_time"
func (BasicDateTime) MarshalJSON ¶
func (t BasicDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*BasicDateTime) UnmarshalJSON ¶
func (t *BasicDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicDateTimeNoMillis ¶
BasicDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date_time_no_millis"
func (BasicDateTimeNoMillis) MarshalJSON ¶
func (t BasicDateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicDateTimeNoMillis) String ¶
func (t BasicDateTimeNoMillis) String() string
String implements fmt.Stringer
func (*BasicDateTimeNoMillis) UnmarshalJSON ¶
func (t *BasicDateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicOrdinalDate ¶
BasicOrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date"
func (BasicOrdinalDate) MarshalJSON ¶
func (t BasicOrdinalDate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicOrdinalDate) String ¶
func (t BasicOrdinalDate) String() string
String implements fmt.Stringer
func (*BasicOrdinalDate) UnmarshalJSON ¶
func (t *BasicOrdinalDate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicOrdinalDateTime ¶
BasicOrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date_time"
func (BasicOrdinalDateTime) MarshalJSON ¶
func (t BasicOrdinalDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicOrdinalDateTime) String ¶
func (t BasicOrdinalDateTime) String() string
String implements fmt.Stringer
func (*BasicOrdinalDateTime) UnmarshalJSON ¶
func (t *BasicOrdinalDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicOrdinalDateTimeNoMillis ¶
BasicOrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date_time_no_millis"
func (BasicOrdinalDateTimeNoMillis) MarshalJSON ¶
func (t BasicOrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicOrdinalDateTimeNoMillis) String ¶
func (t BasicOrdinalDateTimeNoMillis) String() string
String implements fmt.Stringer
func (*BasicOrdinalDateTimeNoMillis) UnmarshalJSON ¶
func (t *BasicOrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicTTime ¶
BasicTTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_t_time"
func (BasicTTime) MarshalJSON ¶
func (t BasicTTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*BasicTTime) UnmarshalJSON ¶
func (t *BasicTTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicTTimeNoMillis ¶
BasicTTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_t_time_no_millis"
func (BasicTTimeNoMillis) MarshalJSON ¶
func (t BasicTTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicTTimeNoMillis) String ¶
func (t BasicTTimeNoMillis) String() string
String implements fmt.Stringer
func (*BasicTTimeNoMillis) UnmarshalJSON ¶
func (t *BasicTTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type BasicTime ¶
BasicTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_time"
func (BasicTime) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*BasicTime) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type BasicTimeNoMillis ¶
BasicTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_time_no_millis"
func (BasicTimeNoMillis) MarshalJSON ¶
func (t BasicTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (BasicTimeNoMillis) String ¶
func (t BasicTimeNoMillis) String() string
String implements fmt.Stringer
func (*BasicTimeNoMillis) UnmarshalJSON ¶
func (t *BasicTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type Date ¶
Date is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date"
func (Date) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Date) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type DateHour ¶
DateHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour"
func (DateHour) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*DateHour) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type DateHourMinute ¶
DateHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute"
func (DateHourMinute) MarshalJSON ¶
func (t DateHourMinute) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateHourMinute) String ¶
func (t DateHourMinute) String() string
String implements fmt.Stringer
func (*DateHourMinute) UnmarshalJSON ¶
func (t *DateHourMinute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DateHourMinuteSecond ¶
DateHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second"
func (DateHourMinuteSecond) MarshalJSON ¶
func (t DateHourMinuteSecond) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateHourMinuteSecond) String ¶
func (t DateHourMinuteSecond) String() string
String implements fmt.Stringer
func (*DateHourMinuteSecond) UnmarshalJSON ¶
func (t *DateHourMinuteSecond) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DateHourMinuteSecondFraction ¶
DateHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second_fraction"
func (DateHourMinuteSecondFraction) MarshalJSON ¶
func (t DateHourMinuteSecondFraction) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateHourMinuteSecondFraction) String ¶
func (t DateHourMinuteSecondFraction) String() string
String implements fmt.Stringer
func (*DateHourMinuteSecondFraction) UnmarshalJSON ¶
func (t *DateHourMinuteSecondFraction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DateHourMinuteSecondMillis ¶
DateHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second_millis"
func (DateHourMinuteSecondMillis) MarshalJSON ¶
func (t DateHourMinuteSecondMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateHourMinuteSecondMillis) String ¶
func (t DateHourMinuteSecondMillis) String() string
String implements fmt.Stringer
func (*DateHourMinuteSecondMillis) UnmarshalJSON ¶
func (t *DateHourMinuteSecondMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DateOptionalTime ¶
DateOptionalTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_optional_time"
func (DateOptionalTime) MarshalJSON ¶
func (t DateOptionalTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateOptionalTime) String ¶
func (t DateOptionalTime) String() string
String implements fmt.Stringer
func (*DateOptionalTime) UnmarshalJSON ¶
func (t *DateOptionalTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DateTime ¶
DateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_time"
func (DateTime) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*DateTime) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type DateTimeNoMillis ¶
DateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_time_no_millis"
func (DateTimeNoMillis) MarshalJSON ¶
func (t DateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DateTimeNoMillis) String ¶
func (t DateTimeNoMillis) String() string
String implements fmt.Stringer
func (*DateTimeNoMillis) UnmarshalJSON ¶
func (t *DateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type Default ¶
Default is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time||epoch_millis".
func (Default) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Default) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type DefaultNano ¶
DefaultNano is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time_nanos||epoch_millis". This is nano sec precise counterpart of Default.
func (DefaultNano) MarshalJSON ¶
func (t DefaultNano) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DefaultNano) UnmarshalJSON ¶
func (t *DefaultNano) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DefaultNum ¶
DefaultNum is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time||epoch_millis". This is almost identical to Default but it marshals into JSON number.
func (DefaultNum) MarshalJSON ¶
func (t DefaultNum) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DefaultNum) UnmarshalJSON ¶
func (t *DefaultNum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type DefaultNumNano ¶
DefaultNumNano is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time_nanos||epoch_millis". This is nano sec precise counterpart of DefaultNum.
func (DefaultNumNano) MarshalJSON ¶
func (t DefaultNumNano) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (DefaultNumNano) String ¶
func (t DefaultNumNano) String() string
String implements fmt.Stringer
func (*DefaultNumNano) UnmarshalJSON ¶
func (t *DefaultNumNano) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type EpochMillis ¶
EpochMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in date format, "epoch_millis".
func (EpochMillis) MarshalJSON ¶
func (t EpochMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EpochMillis) UnmarshalJSON ¶
func (t *EpochMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type EpochSecond ¶
EpochSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in date format, "epoch_second".
func (EpochSecond) MarshalJSON ¶
func (t EpochSecond) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*EpochSecond) UnmarshalJSON ¶
func (t *EpochSecond) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type Hour ¶
Hour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour"
func (Hour) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Hour) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type HourMinute ¶
HourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute"
func (HourMinute) MarshalJSON ¶
func (t HourMinute) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*HourMinute) UnmarshalJSON ¶
func (t *HourMinute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type HourMinuteSecond ¶
HourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second"
func (HourMinuteSecond) MarshalJSON ¶
func (t HourMinuteSecond) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (HourMinuteSecond) String ¶
func (t HourMinuteSecond) String() string
String implements fmt.Stringer
func (*HourMinuteSecond) UnmarshalJSON ¶
func (t *HourMinuteSecond) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type HourMinuteSecondFraction ¶
HourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second_fraction"
func (HourMinuteSecondFraction) MarshalJSON ¶
func (t HourMinuteSecondFraction) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (HourMinuteSecondFraction) String ¶
func (t HourMinuteSecondFraction) String() string
String implements fmt.Stringer
func (*HourMinuteSecondFraction) UnmarshalJSON ¶
func (t *HourMinuteSecondFraction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type HourMinuteSecondMillis ¶
HourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second_millis"
func (HourMinuteSecondMillis) MarshalJSON ¶
func (t HourMinuteSecondMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (HourMinuteSecondMillis) String ¶
func (t HourMinuteSecondMillis) String() string
String implements fmt.Stringer
func (*HourMinuteSecondMillis) UnmarshalJSON ¶
func (t *HourMinuteSecondMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrdinalDate ¶
OrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date"
func (OrdinalDate) MarshalJSON ¶
func (t OrdinalDate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*OrdinalDate) UnmarshalJSON ¶
func (t *OrdinalDate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrdinalDateTime ¶
OrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date_time"
func (OrdinalDateTime) MarshalJSON ¶
func (t OrdinalDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (OrdinalDateTime) String ¶
func (t OrdinalDateTime) String() string
String implements fmt.Stringer
func (*OrdinalDateTime) UnmarshalJSON ¶
func (t *OrdinalDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type OrdinalDateTimeNoMillis ¶
OrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date_time_no_millis"
func (OrdinalDateTimeNoMillis) MarshalJSON ¶
func (t OrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (OrdinalDateTimeNoMillis) String ¶
func (t OrdinalDateTimeNoMillis) String() string
String implements fmt.Stringer
func (*OrdinalDateTimeNoMillis) UnmarshalJSON ¶
func (t *OrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDate ¶
StrictDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date"
func (StrictDate) MarshalJSON ¶
func (t StrictDate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StrictDate) UnmarshalJSON ¶
func (t *StrictDate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateHour ¶
StrictDateHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour"
func (StrictDateHour) MarshalJSON ¶
func (t StrictDateHour) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateHour) String ¶
func (t StrictDateHour) String() string
String implements fmt.Stringer
func (*StrictDateHour) UnmarshalJSON ¶
func (t *StrictDateHour) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateHourMinute ¶
StrictDateHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute"
func (StrictDateHourMinute) MarshalJSON ¶
func (t StrictDateHourMinute) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateHourMinute) String ¶
func (t StrictDateHourMinute) String() string
String implements fmt.Stringer
func (*StrictDateHourMinute) UnmarshalJSON ¶
func (t *StrictDateHourMinute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateHourMinuteSecond ¶
StrictDateHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second"
func (StrictDateHourMinuteSecond) MarshalJSON ¶
func (t StrictDateHourMinuteSecond) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateHourMinuteSecond) String ¶
func (t StrictDateHourMinuteSecond) String() string
String implements fmt.Stringer
func (*StrictDateHourMinuteSecond) UnmarshalJSON ¶
func (t *StrictDateHourMinuteSecond) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateHourMinuteSecondFraction ¶
StrictDateHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second_fraction"
func (StrictDateHourMinuteSecondFraction) MarshalJSON ¶
func (t StrictDateHourMinuteSecondFraction) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateHourMinuteSecondFraction) String ¶
func (t StrictDateHourMinuteSecondFraction) String() string
String implements fmt.Stringer
func (*StrictDateHourMinuteSecondFraction) UnmarshalJSON ¶
func (t *StrictDateHourMinuteSecondFraction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateHourMinuteSecondMillis ¶
StrictDateHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second_millis"
func (StrictDateHourMinuteSecondMillis) MarshalJSON ¶
func (t StrictDateHourMinuteSecondMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateHourMinuteSecondMillis) String ¶
func (t StrictDateHourMinuteSecondMillis) String() string
String implements fmt.Stringer
func (*StrictDateHourMinuteSecondMillis) UnmarshalJSON ¶
func (t *StrictDateHourMinuteSecondMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateOptionalTime ¶
StrictDateOptionalTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_optional_time"
func (StrictDateOptionalTime) MarshalJSON ¶
func (t StrictDateOptionalTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateOptionalTime) String ¶
func (t StrictDateOptionalTime) String() string
String implements fmt.Stringer
func (*StrictDateOptionalTime) UnmarshalJSON ¶
func (t *StrictDateOptionalTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateOptionalTimeNanos ¶
StrictDateOptionalTimeNanos is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_optional_time_nanos"
func (StrictDateOptionalTimeNanos) MarshalJSON ¶
func (t StrictDateOptionalTimeNanos) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateOptionalTimeNanos) String ¶
func (t StrictDateOptionalTimeNanos) String() string
String implements fmt.Stringer
func (*StrictDateOptionalTimeNanos) UnmarshalJSON ¶
func (t *StrictDateOptionalTimeNanos) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateTime ¶
StrictDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_time"
func (StrictDateTime) MarshalJSON ¶
func (t StrictDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateTime) String ¶
func (t StrictDateTime) String() string
String implements fmt.Stringer
func (*StrictDateTime) UnmarshalJSON ¶
func (t *StrictDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictDateTimeNoMillis ¶
StrictDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_time_no_millis"
func (StrictDateTimeNoMillis) MarshalJSON ¶
func (t StrictDateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictDateTimeNoMillis) String ¶
func (t StrictDateTimeNoMillis) String() string
String implements fmt.Stringer
func (*StrictDateTimeNoMillis) UnmarshalJSON ¶
func (t *StrictDateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictHour ¶
StrictHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour"
func (StrictHour) MarshalJSON ¶
func (t StrictHour) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StrictHour) UnmarshalJSON ¶
func (t *StrictHour) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictHourMinute ¶
StrictHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute"
func (StrictHourMinute) MarshalJSON ¶
func (t StrictHourMinute) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictHourMinute) String ¶
func (t StrictHourMinute) String() string
String implements fmt.Stringer
func (*StrictHourMinute) UnmarshalJSON ¶
func (t *StrictHourMinute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictHourMinuteSecond ¶
StrictHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second"
func (StrictHourMinuteSecond) MarshalJSON ¶
func (t StrictHourMinuteSecond) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictHourMinuteSecond) String ¶
func (t StrictHourMinuteSecond) String() string
String implements fmt.Stringer
func (*StrictHourMinuteSecond) UnmarshalJSON ¶
func (t *StrictHourMinuteSecond) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictHourMinuteSecondFraction ¶
StrictHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second_fraction"
func (StrictHourMinuteSecondFraction) MarshalJSON ¶
func (t StrictHourMinuteSecondFraction) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictHourMinuteSecondFraction) String ¶
func (t StrictHourMinuteSecondFraction) String() string
String implements fmt.Stringer
func (*StrictHourMinuteSecondFraction) UnmarshalJSON ¶
func (t *StrictHourMinuteSecondFraction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictHourMinuteSecondMillis ¶
StrictHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second_millis"
func (StrictHourMinuteSecondMillis) MarshalJSON ¶
func (t StrictHourMinuteSecondMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictHourMinuteSecondMillis) String ¶
func (t StrictHourMinuteSecondMillis) String() string
String implements fmt.Stringer
func (*StrictHourMinuteSecondMillis) UnmarshalJSON ¶
func (t *StrictHourMinuteSecondMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictOrdinalDate ¶
StrictOrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date"
func (StrictOrdinalDate) MarshalJSON ¶
func (t StrictOrdinalDate) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictOrdinalDate) String ¶
func (t StrictOrdinalDate) String() string
String implements fmt.Stringer
func (*StrictOrdinalDate) UnmarshalJSON ¶
func (t *StrictOrdinalDate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictOrdinalDateTime ¶
StrictOrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date_time"
func (StrictOrdinalDateTime) MarshalJSON ¶
func (t StrictOrdinalDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictOrdinalDateTime) String ¶
func (t StrictOrdinalDateTime) String() string
String implements fmt.Stringer
func (*StrictOrdinalDateTime) UnmarshalJSON ¶
func (t *StrictOrdinalDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictOrdinalDateTimeNoMillis ¶
StrictOrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date_time_no_millis"
func (StrictOrdinalDateTimeNoMillis) MarshalJSON ¶
func (t StrictOrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictOrdinalDateTimeNoMillis) String ¶
func (t StrictOrdinalDateTimeNoMillis) String() string
String implements fmt.Stringer
func (*StrictOrdinalDateTimeNoMillis) UnmarshalJSON ¶
func (t *StrictOrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictTTime ¶
StrictTTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_t_time"
func (StrictTTime) MarshalJSON ¶
func (t StrictTTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StrictTTime) UnmarshalJSON ¶
func (t *StrictTTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictTTimeNoMillis ¶
StrictTTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_t_time_no_millis"
func (StrictTTimeNoMillis) MarshalJSON ¶
func (t StrictTTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictTTimeNoMillis) String ¶
func (t StrictTTimeNoMillis) String() string
String implements fmt.Stringer
func (*StrictTTimeNoMillis) UnmarshalJSON ¶
func (t *StrictTTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictTime ¶
StrictTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_time"
func (StrictTime) MarshalJSON ¶
func (t StrictTime) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StrictTime) UnmarshalJSON ¶
func (t *StrictTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictTimeNoMillis ¶
StrictTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_time_no_millis"
func (StrictTimeNoMillis) MarshalJSON ¶
func (t StrictTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictTimeNoMillis) String ¶
func (t StrictTimeNoMillis) String() string
String implements fmt.Stringer
func (*StrictTimeNoMillis) UnmarshalJSON ¶
func (t *StrictTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictYear ¶
StrictYear is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year"
func (StrictYear) MarshalJSON ¶
func (t StrictYear) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StrictYear) UnmarshalJSON ¶
func (t *StrictYear) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictYearMonth ¶
StrictYearMonth is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year_month"
func (StrictYearMonth) MarshalJSON ¶
func (t StrictYearMonth) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictYearMonth) String ¶
func (t StrictYearMonth) String() string
String implements fmt.Stringer
func (*StrictYearMonth) UnmarshalJSON ¶
func (t *StrictYearMonth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type StrictYearMonthDay ¶
StrictYearMonthDay is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year_month_day"
func (StrictYearMonthDay) MarshalJSON ¶
func (t StrictYearMonthDay) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (StrictYearMonthDay) String ¶
func (t StrictYearMonthDay) String() string
String implements fmt.Stringer
func (*StrictYearMonthDay) UnmarshalJSON ¶
func (t *StrictYearMonthDay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type TTime ¶
TTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "t_time"
func (TTime) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*TTime) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type TTimeNoMillis ¶
TTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "t_time_no_millis"
func (TTimeNoMillis) MarshalJSON ¶
func (t TTimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TTimeNoMillis) UnmarshalJSON ¶
func (t *TTimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type Time ¶
Time is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "time"
func (Time) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type TimeNoMillis ¶
TimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "time_no_millis"
func (TimeNoMillis) MarshalJSON ¶
func (t TimeNoMillis) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TimeNoMillis) UnmarshalJSON ¶
func (t *TimeNoMillis) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler
type Year ¶
Year is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year"
func (Year) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Year) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type YearMonth ¶
YearMonth is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year_month"
func (YearMonth) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*YearMonth) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type YearMonthDay ¶
YearMonthDay is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year_month_day"
func (YearMonthDay) MarshalJSON ¶
func (t YearMonthDay) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*YearMonthDay) UnmarshalJSON ¶
func (t *YearMonthDay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler