FormatRegistry class

Registry of built-in and custom date format patterns.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

all → Map<String, String>
All formats merged from built-in and custom registrations.
no setter

Static Methods

getAll() → Map<String, String>
Returns all registered format names and patterns.
register(String name, String pattern) → void
Registers a custom format name with the given pattern.
resolve(String name) → String?
Resolves a format name to its pattern, or null if not found.