year property
Gets the year component of the date represented by this instance.
Implementation
int get year {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_DateOnly_getYear(
_handle,
errorHandler,
);
});
}