createAdjusted

fun createAdjusted(year: Int, month: Int, day: Int, hour: Int = 0, minute: Int = 0, second: Int = 0, milliseconds: Int = 0): DateTime

Constructs a new DateTime from date and time information.

On invalid dates, this function will try to adjust the specified invalid date to a valid one by adjusting other components.