Class DateTime (3.1.1)

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

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

Attributes

Name
Description
date
google.type.date_pb2.Date
One or more of the following must be set. Must be a valid date or time value.
day_of_week
google.type.dayofweek_pb2.DayOfWeek
Day of week
time
google.type.timeofday_pb2.TimeOfDay
Time of day

Classes

TimeZone

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

Time zone of the date time object. .. attribute:: offset_minutes

Set only if the offset can be determined. Positive for time ahead of UTC. E.g. For "UTC-9", this value is -540.

:type: int

Create a Mobile Website
View Site in Mobile | Classic
Share by: