public interface DateOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getDay()
Day of a month.
|
int |
getMonth()
Month of a year.
|
int |
getYear()
Year of the date.
|
boolean |
hasDay()
Day of a month.
|
boolean |
hasMonth()
Month of a year.
|
boolean |
hasYear()
Year of the date.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDay()
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
optional int32 day = 99228;int getDay()
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
optional int32 day = 99228;boolean hasMonth()
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
optional int32 month = 104080000;int getMonth()
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
optional int32 month = 104080000;boolean hasYear()
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
optional int32 year = 3704893;int getYear()
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
optional int32 year = 3704893;Copyright © 2025 Google LLC. All rights reserved.