code: public void setDateTime(
              final int year,
              final int monthOfYear,
              final int dayOfMonth,
              final int hourOfDay,
              final int minuteOfHour,
              final int secondOfMinute,
              final int millisOfSecond) {
          long instant = getChronology().getDateTimeMillis(
              year, monthOfYear, dayOfMonth, hourOfDay, minuteOfHour, secondOfMinute, millisOfSecond);
          setMillis(instant);
      }
docs: Set the date and time from fields.
  
  @param year  the year
  @param monthOfYear  the month of the year
  @param dayOfMonth  the day of the month
  @param hourOfDay  the hour of the day
  @param minuteOfHour  the minute of the hour
  @param secondOfMinute  the second of the minute
  @param millisOfSecond  the millisecond of the second
  @throws IllegalArgumentException if the value is invalid