docs: static public Timestamp adjustTimestamp(Timestamp timestamp)
    {
      long milliToAdjust = ResultUtil.msDiffJulianToGregorian(timestamp);
  
      if (milliToAdjust != 0)
      {
  
        if (logger.isDebugEnabled())
        {
          logger.debug("adjust timestamp by {} days", milliToAdjust / 86400000);
        }
  
        Timestamp newTimestamp = new Timestamp(timestamp.getTime()
                                               + milliToAdjust);
  
        newTimestamp.setNanos(timestamp.getNanos());
  
        return newTimestamp;
      }
      else
      {
        return timestamp;
      }
    }