code: public static long getTimeMillisWithNano(int year, int month,
              int dayOfMonth, int hour, int minute, int second, int nanoOfSecond,
              String zoneId) {
          return ZonedDateTime.of(year, month, dayOfMonth, hour, minute, second,
                  nanoOfSecond, getZoneId(zoneId)).toInstant().toEpochMilli();
      }
docs: Gets time millis with nano.
  
  @param year         the year
  @param month        the month
  @param dayOfMonth   the day of month
  @param hour         the hour
  @param minute       the minute
  @param second       the second
  @param nanoOfSecond the nano of second
  @param zoneId       the zone id
  @return the time millis with nano