Creates a DateTime.
Property | Type | Description |
---|---|---|
Year | Number | The year. |
MonthOfYear | Number | The month of the year, from 1 to 12. |
DayOfMonth | Number | The day of the month, from 1 to 31. |
HourOfDay | Number | The hour of the day, from 0 to 23. |
MinuteOfHour | Number | The minute of the hour, from 0 to 59. |
Seconds | Number | The second of the minute, from 0 to 59. |
Notes
- Ignores any property that is null.
- Throws an IllegalArgumentException if one of the fields is out of range.
Comments
0 comments
Please sign in to leave a comment.