AnyLogic
Expand
Font size

getDateWithTimeNextTo

getDateWithTimeNextTo(date, hourOfDay, minute, second)

Description

Returns the next date after the given date, with the specified time in the default system time zone.

Parameters

Name Type of value Description
date java.util.Date The date.
hourOfDay int The hour component of the time value, in the 24-hour format.
minute int The minute component of the time value.
second int The second component of the time value.

Result

Type Description
java.util.Date The Date object defining the next date after the one specified in the parameter, with the given time value.
How can we improve this article?