public interface DateOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getDay()
Day of month.
|
int |
getMonth()
Month of year.
|
int |
getYear()
Year of date.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getYear()
Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
int32 year = 1;
int getMonth()
Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.
int32 month = 2;
int getDay()
Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.
int32 day = 3;