Interval
class Interval extends Message
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
Generated from protobuf message google.type.Interval
Properties
protected | $start_time | Optional. Inclusive start of the interval. | |
protected | $end_time | Optional. Exclusive end of the interval. |
Methods
Constructor.
Optional. Inclusive start of the interval.
No description
No description
Optional. Inclusive start of the interval.
Optional. Exclusive end of the interval.
No description
No description
Optional. Exclusive end of the interval.
Details
at line 55
__construct(array $data = NULL)
Constructor.
at line 68
Timestamp|null
getStartTime()
Optional. Inclusive start of the interval.
If specified, a Timestamp matching this interval will have to be the same or after the start.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
at line 73
hasStartTime()
at line 78
clearStartTime()
at line 92
$this
setStartTime(Timestamp $var)
Optional. Inclusive start of the interval.
If specified, a Timestamp matching this interval will have to be the same or after the start.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
at line 108
Timestamp|null
getEndTime()
Optional. Exclusive end of the interval.
If specified, a Timestamp matching this interval will have to be before the end.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
at line 113
hasEndTime()
at line 118
clearEndTime()
at line 132
$this
setEndTime(Timestamp $var)
Optional. Exclusive end of the interval.
If specified, a Timestamp matching this interval will have to be before the end.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2;