code: public static Duration getDurationByTimeValues(final long hours, final long minutes, final long seconds) {
          return Duration.ofHours(hours).plusMinutes(minutes).plusSeconds(seconds);
      }
docs: converts values of time constants to a Duration object..
  
  @param hours
  count of hours
  @param minutes
  count of minutes
  @param seconds
  count of seconds
  @return duration