void (boolean fromConstructor) { if (fromConstructor && alreadySet) { return; } alreadySet = true; Date date = new Date(); TimeZone timeZone = TimeZone.getTimeZone("GMT"); ssiExternalResolver.setVariableValue("DATE_GMT", formatDate(date, timeZone)); ssiExternalResolver.setVariableValue("DATE_LOCAL", formatDate(date, null)); ssiExternalResolver.setVariableValue("LAST_MODIFIED", formatDate(new Date(lastModifiedDate), null)); }