registerWithFn method
Register a formatter for current Now
instance with the given specifier.
Implementation
void registerWithFn(
String specifier, String Function(DateTime date) formatter) =>
register(_FunctionBasedDateTimeFormatter(specifier, formatter));