Indicates whether the hour of the current model date with respect to the start time/date and the model time unit is before (AM) or after (PM) noon.
This function is used for the 12-hour clock.
Valid values:
0 — AM
1 — PM
For example, at 10:04:15.250 PM the result is 1.
Type | Description |
---|---|
int | 0 or 1 depending on the hour of the current model date with respect to the start time/date and the model time unit. |
Indicates whether the hour of the specified date is before (AM) or after (PM) noon.
This function is used for the 12-hour clock.
Valid values:
0 — AM
1 — PM
For example, at 10:04:15.250 PM the result is 1.
Name | Type of value | Description |
---|---|---|
date | java.util.Date | A date, presented in the form of the Date Java class. |
Type | Description |
---|---|
int | The AM/PM part of the specified date value: 0 for AM, 1 for PM. |
-
How can we improve this article?
-