code: private String convertFormat(long watermark) {
      Preconditions.checkArgument(watermark > 0, "Watermark should be positive number.");
      return googleAnalyticsFormatter.print(watermarkFormatter.parseDateTime(Long.toString(watermark)));
    }
docs: Converts date format from watermark format to Google analytics format
  @param watermark
  @return