date command like formatter
Special letter ('%'
by default) followed by key letters
will be replaced by corresponding formatted string.
This class is designed for formatting Date
object,
however, can work with other object as long as setting appropriate handlers,
and can be useful when formatting multiple properties of a single object.
DateLikeFormatter(handlers: DateHanler<T>,options?: DateOptions,)
Create a new date command like formatter with given handlers and options.
patch(handlers: DateHanler<T>): DateLikeFormatter<T>
Create a new patched DateLikeFormatter<T>
This method doesn't modify this object itself, and creates new one with patch.