Returns the year of the current model date with respect to the start time/date and the model time unit.
This is a calendar-specific value.
| Type | Description |
|---|---|
| int | The year of the current model date with respect to the start time/date and the model time unit test. |
Returns the year component of the specified date.
This is a calendar-specific value.
| Name | Type of value | Description |
|---|---|---|
| date | java.util.Date | A date, presented in the form of the Date Java class. |
| Type | Description |
|---|---|
| int | The year component of the specified date value. |
-
How can we improve this article?
-