DateTime.getMonth

Returns the receiver's month. <p> The first month of the year is 0, and the last month is 11. </p>

@return an integer between 0 and 11

@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
int
getMonth
(
)

Meta