TimeInterval

  • JSON representation defines a time interval with a start and end time.

  • The kind field is deprecated and was used to identify the resource type.

  • start and end fields represent the start and end times of the interval, respectively, using the DateTime object.

  • Offsets in start and end are optional but must be consistent if used in either field.

JSON representation
 { 
 "kind" 
 : 
 string 
 , 
 "start" 
 : 
 { 
 object (  DateTime 
 
) 
 } 
 , 
 "end" 
 : 
 { 
 object (  DateTime 
 
) 
 } 
 } 
Fields
kind
(deprecated)

string

Identifies what kind of resource this is. Value: the fixed string "walletobjects#timeInterval" .

start

object ( DateTime )

Start time of the interval.

Offset is not required. If an offset is provided and end time is set, end must also include an offset.

end

object ( DateTime )

End time of the interval.

Offset is not required. If an offset is provided and start time is set, start must also include an offset.

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