Class DateTime (2.0.2)

DateTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for a date time object. e.g. 2018-01-01, 5th August.

Attributes

NameDescription
date .gt_date.Date
One or more of the following must be set. Must be a valid date or time value.
day_of_week .dayofweek.DayOfWeek
Day of week
time .timeofday.TimeOfDay
Time of day
time_zone .dlp.DateTime.TimeZone
Time zone

Classes

TimeZone

TimeZone(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Time zone of the date time object.