View Source GoogleApi.Dataform.V1beta1.Model.Interval (google_api_dataform v0.7.0)

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Attributes

  • endTime (type: DateTime.t, default: nil) - Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
  • startTime (type: DateTime.t, default: nil) - Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dataform.V1beta1.Model.Interval{
  endTime: DateTime.t() | nil,
  startTime: DateTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.