public sealed class Date : Protobuf.IMessage<Date>, Protobuf.IBufferMessage
Represents a whole or partial calendar date, e.g. a birthday. The time of day
and time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. This can represent:
A full date, with non-zero year, month and day values
A month and day value, with a zero year, e.g. an anniversary
A year on its own, with zero month and day values
A year and month value, with a zero day, e.g. a credit card expiration date
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and google.protobuf.Timestamp.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `Date` class represents a calendar date, which can be a full date, a month and day, a year, or a year and month, and is relative to the Proleptic Gregorian Calendar."],["It includes properties for `Year`, `Month`, and `Day`, all of which are integers and have specified ranges, and can have a value of 0 depending on if the date is complete or not."],["The `Date` class can be converted to and from `DateTime` and `DateTimeOffset` types, however conversion failure may occur if the date, month, or year value is out of the valid ranges."],["The `Date` class contains constructors for creating new instances with no values, or from other `Date` instances."],["There are methods to calculate size, clone, compare, merge, and convert to various string outputs for the date instance."]]],[]]