I analyze the duration according to ISO 8601. (3M - means three months, 8W - eight weeks,...). But there is a problem of declination of time units depending on the number of units. E.g.
ENG : 1 month, 3 months ; 1 week, 8 weeks
CZ - 1 měsíc, 3 měsíce, 100 měsíců ; 1 týden, 8 týdnů
ENG : 1 month, 3 months ; 1 week, 8 weeks
CZ - 1 měsíc, 3 měsíce, 100 měsíců ; 1 týden, 8 týdnů
- Can I get these language-specific inflectional units from Android (GetQuantityString?) or another library such as Mozilla's Fluent or ICU4J?
- Alternatively, can I get abbreviated versions (mo, wk, yr, min,...) also depending on the language?
- Or how to solve it elegantly?