DateTime.setYear

Sets the receiver's year. <p> The first year is 1752 and the last year is 9999. </p>

@param year an integer between 1752 and 9999

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class DateTime
void
setYear
(
int year
)

Meta