nrtime

package
v2.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Code generated by tutone: DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateTime

type DateTime string

DateTime - The `DateTime` scalar represents a date and time. The `DateTime` appears as an ISO8601 formatted string.

type EpochMilliseconds

type EpochMilliseconds serialization.EpochTime

EpochMilliseconds - The `EpochMilliseconds` scalar represents the number of milliseconds since the Unix epoch

func (EpochMilliseconds) MarshalJSON

func (t EpochMilliseconds) MarshalJSON() ([]byte, error)

MarshalJSON wrapper for EpochMilliseconds

func (EpochMilliseconds) String

func (t EpochMilliseconds) String() string

String returns the time formatted using the format string

func (*EpochMilliseconds) UnmarshalJSON

func (t *EpochMilliseconds) UnmarshalJSON(s []byte) error

UnmarshalJSON wrapper for EpochMilliseconds

type EpochSeconds

type EpochSeconds serialization.EpochTime

EpochSeconds - The `EpochSeconds` scalar represents the number of seconds since the Unix epoch

func (EpochSeconds) MarshalJSON

func (t EpochSeconds) MarshalJSON() ([]byte, error)

MarshalJSON wrapper for EpochSeconds

func (EpochSeconds) String

func (t EpochSeconds) String() string

String returns the time formatted using the format string

func (*EpochSeconds) UnmarshalJSON

func (t *EpochSeconds) UnmarshalJSON(s []byte) error

UnmarshalJSON wrapper for EpochSeconds

type Milliseconds

type Milliseconds int

Milliseconds - The `Milliseconds` scalar represents a duration in milliseconds

type Minutes

type Minutes int

Minutes - The `Minutes` scalar represents a duration in minutes

type NaiveDateTime

type NaiveDateTime string

NaiveDateTime - The `NaiveDateTime` scalar represents a date and time without a Time Zone. The `NaiveDateTime` appears as an ISO8601 formatted string.

type Seconds

type Seconds string

Seconds - The `Seconds` scalar represents a duration in seconds

func (*Seconds) UnmarshalJSON

func (t *Seconds) UnmarshalJSON(s []byte) error

type TimeWindowInput

type TimeWindowInput struct {
	// The end time of the time window the number of milliseconds since the Unix epoch.
	EndTime EpochMilliseconds `json:"endTime"`
	// The start time of the time window the number of milliseconds since the Unix epoch.
	StartTime EpochMilliseconds `json:"startTime"`
}

TimeWindowInput - Represents a time window input.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL