code: public static String formatLastModifiedAt(final BaseEntity baseEntity, final String datePattern) {
          if (baseEntity == null) {
              return "";
          }
          return formatDate(baseEntity.getLastModifiedAt(), "", datePattern);
      }
docs: Get formatted date 'last modified at' by entity.
  
  @param baseEntity
  the entity
  @param datePattern
  pattern how to format the date (cp. {@code SimpleDateFormat})
  @return String formatted date