Code example for SimpleDateFormat

Methods: toPattern

0
 
        return sb.toString();
    } 
 
    public static String toString(SimpleDateFormat format) {
        return format == null ? "(null)" : format.toPattern();
    } 
 
    public static String toString(Iterable<?> list) {
        if (list == null) {
            return "(null)"; 
        } else { 
            return Iterators.toString(list.iterator());
        } 
    } 
}