Boolean ignoreUserTimeZone = getMetaAnnotationValue(property, IgnoreUserTimeZone.class); if (!Boolean.TRUE.equals(ignoreUserTimeZone)) { return ((TimeZoneAwareDatatype) datatype).format(value, userSessionSource.getLocale(), userSessionSource.getUserSession().getTimeZone());
UserSession userSession = userSessionSource.getUserSession(); if (timeZone != null) { return ((TimeZoneAwareDatatype)Datatypes.getNN(Date.class)).format(v, userSession.getLocale(), timeZone); } else { return Datatypes.getNN(Date.class).format(v, userSession.getLocale());