Code example for SimpleDateFormat

0
    } 
 
    @Override 
    public Map<String, String> createMessageVariables() {
        Map<String, String> messageVariables = new HashMap<String, String>();
        messageVariables.put("reference", new SimpleDateFormat(I18N.getDateFormat()).format(reference));
        return messageVariables;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java