System::Globalization::GregorianCalendar::GetYear method
GregorianCalendar::GetYear method
Gets year for the specified time point.
int System::Globalization::GregorianCalendar::GetYear(DateTime time) const override
Parameter | Type | Description |
---|---|---|
time | DateTime | Time and date to extract data from. |
ReturnValue
Year in the time point passed.
See Also
- Class DateTime
- Class GregorianCalendar
- Namespace System::Globalization
- Library Aspose.PUB for C++