DurationLocalizer
Localizer for Duration.
This is meant to localize "static" duration, that don't change over time (e.g. a movie length).
For localizing durations that change over time see TickingDurationLocalizer. For localizing durations relatively, see RelativeDurationLocalizer.
Create once and re-use for localizing multiple values with the same options. Use Duration.localize for one-off localizations.
Examples:
1h 5m1 hr, 5 min1 hour, 5 minutes
Localizer for Duration.
This is meant to localize "static" duration, that don't change over time (e.g. a movie length).
For localizing durations that change over time see TickingDurationLocalizer. For localizing durations relatively, see RelativeDurationLocalizer.
Create once and re-use for localizing multiple values with the same options. Use Duration.localize for one-off localizations.
Examples:
1h 5m1 hr, 5 min1 hour, 5 minutes
Localizer for Duration.
This is meant to localize "static" duration, that don't change over time (e.g. a movie length).
For localizing durations that change over time see TickingDurationLocalizer. For localizing durations relatively, see RelativeDurationLocalizer.
Create once and re-use for localizing multiple values with the same options. Use Duration.localize for one-off localizations.
Examples:
1h 5m1 hr, 5 min1 hour, 5 minutes