TimeUnitFormat InvalidArgsError
Created by: sharifzadesina
Hi
I am using TimeUnitFormat class as mentioned here.
But I am getting icu.InvalidArgsError
always.
formatter = TimeUnitFormat(Locale('en_US'))
obj = TimeUnitAmount(1, 0) # 0 means YEAR
print(formatter.format(obj))