Java Utililty Methods yyyy

List of utility methods to do yyyy

Description

The list of methods to do yyyy are organized into topic(s).

Method

SimpleDateFormatformat()
format
return new SimpleDateFormat("yyyy_MM_dd");
Stringformat(Date aTs_Datetime)
format
return format(aTs_Datetime, "yyyy-MM-dd");
Stringformat(Date date)
Method for formatting a Date into a String with the default format (dd/MM/yyyy)
return format(date, null);
Stringformat(Date date)
format
if (date == null) {
    return "";
DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
return df.format(date);
Stringformat(Date date)
format
Iterator<SimpleDateFormat> iter = formats.values().iterator();
while (iter.hasNext()) {
    return iter.next().format(date);
return null;
Stringformat(Date date)
Wandelt ein Datum in das Format 'YYYY-MM-DD' um
if (date == null)
    return "";
return new SimpleDateFormat("yyyy-MM-dd").format(date);
Stringformat(Date date)
format
if (date == null)
    return "";
else
    return getFormatter(YYYY_MM_DD).format(date);
Stringformat(Date date)
format
synchronized (defaultFormater) {
    return defaultFormater.format(date);
Stringformat(Date date)
format
SimpleDateFormat format = new SimpleDateFormat("yyyy/MM/dd");
return format.format(date);
Stringformat(Date date)
format
return date == null ? "" : format(date, getDatePattern());