GoogleTypeDateTime constructor

const GoogleTypeDateTime({
  1. Input<int>? day,
  2. Input<int>? hours,
  3. Input<int>? minutes,
  4. Input<int>? month,
  5. Input<int>? nanos,
  6. Input<int>? seconds,
  7. Input<GoogleTypeTimeZone>? timeZone,
  8. Input<String>? utcOffset,
  9. Input<int>? year,
})

Creates a new GoogleTypeDateTime. day Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day. hours Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time. minutes Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. month Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. nanos Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. seconds Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds. timeZone Time zone. utcOffset UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }. year Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

Implementation

const GoogleTypeDateTime({
  this.day,
  this.hours,
  this.minutes,
  this.month,
  this.nanos,
  this.seconds,
  this.timeZone,
  this.utcOffset,
  this.year,
});