public interface CivilDateTimeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDate()
public abstract Date getDate()Required. Calendar date.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date |
The date. |
getDateOrBuilder()
public abstract DateOrBuilder getDateOrBuilder()Required. Calendar date.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getTime()
public abstract TimeOfDay getTime()Optional. Time of day. Defaults to the start of the day, at midnight if omitted.
.google.type.TimeOfDay time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The time. |
getTimeOrBuilder()
public abstract TimeOfDayOrBuilder getTimeOrBuilder()Optional. Time of day. Defaults to the start of the day, at midnight if omitted.
.google.type.TimeOfDay time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
hasDate()
public abstract boolean hasDate()Required. Calendar date.
.google.type.Date date = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the date field is set. |
hasTime()
public abstract boolean hasTime()Optional. Time of day. Defaults to the start of the day, at midnight if omitted.
.google.type.TimeOfDay time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the time field is set. |