docs: public static Date toUtcDate(TimeZone browserTZ, TimeZone targetTZ, Date localDate) {
          if (localDate == null) {
              return null;
          }
  
          long local = localDate.getTime();
          int targetOffsetFromUTC = targetTZ.getOffset(local);
          int browserOffsetFromUTC = browserTZ.getOffset(local);
  
          return new Date(local - targetOffsetFromUTC + browserOffsetFromUTC);
      }