GoogleTypeDateTimeResponse constructor
Creates a new GoogleTypeDateTimeResponse.
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 GoogleTypeDateTimeResponse({
required this.day,
required this.hours,
required this.minutes,
required this.month,
required this.nanos,
required this.seconds,
required this.timeZone,
required this.utcOffset,
required this.year,
});