validateDateComponents

private fun validateDateComponents(year: Int, month: Int, day: Int, hours: Int, minutes: Int, seconds: Int)

Validates that the provided date component values fall within their expected ranges.

Throws

if any component is out of range.