Class Place.Types.OpeningHours.Types.Period.Types.Point
Status changing points.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Place.Types.OpeningHours.Types.Period.Types.Point : IMessage<Place.Types.OpeningHours.Types.Period.Types.Point>, IEquatable<Place.Types.OpeningHours.Types.Period.Types.Point>, IDeepCloneable<Place.Types.OpeningHours.Types.Period.Types.Point>, IBufferMessage, IMessage
Constructors
Point()
Declaration
public Point()
Point(Point)
Declaration
public Point(Place.Types.OpeningHours.Types.Period.Types.Point other)
Parameters
Type | Name | Description |
---|---|---|
Place.Types.OpeningHours.Types.Period.Types.Point | other |
Properties
Date
Date in the local timezone for the place.
Declaration
public Date Date { get; set; }
Property Value
Type | Description |
---|---|
Date |
Day
A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
Declaration
public int Day { get; set; }
Property Value
Type | Description |
---|---|
int |
HasDay
Gets whether the "day" field is set
Declaration
public bool HasDay { get; }
Property Value
Type | Description |
---|---|
bool |
HasHour
Gets whether the "hour" field is set
Declaration
public bool HasHour { get; }
Property Value
Type | Description |
---|---|
bool |
HasMinute
Gets whether the "minute" field is set
Declaration
public bool HasMinute { get; }
Property Value
Type | Description |
---|---|
bool |
Hour
The hour in 2 digits. Ranges from 00 to 23.
Declaration
public int Hour { get; set; }
Property Value
Type | Description |
---|---|
int |
Minute
The minute in 2 digits. Ranges from 00 to 59.
Declaration
public int Minute { get; set; }
Property Value
Type | Description |
---|---|
int |
Truncated
Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
Declaration
public bool Truncated { get; set; }
Property Value
Type | Description |
---|---|
bool |