add_d method Null safety

DateFormat add_d()

The 'add_*' methods append a particular skeleton to the format, or set it as the only format if none was previously set. These are primarily useful for creating compound formats. For example

DateFormat.yMd().add_Hms();

would create a date format that prints both the date and the time.

Implementation

DateFormat add_d() => addPattern('d');