/** * Output the date in an appropriate ISO8601 format. * * <p>This method will output the partial in one of two ways. If {@link #getFormatter()} * * <p>If there is no appropriate ISO format a dump of the fields is output via {@link * #toStringList()}. * * @return ISO8601 formatted string */ public String toString() { DateTimeFormatter[] f = iFormatter; if (f == null) { getFormatter(); f = iFormatter; if (f == null) { return toStringList(); } } DateTimeFormatter f1 = f[1]; if (f1 == null) { return toStringList(); } return f1.print(this); }