vicoproplus/moon-humanize/src/humanize does not have a README file
pub trait NumberFormatter {
fn scientific_localized(value : Double, precision~ : Int, exponent~ : Int) -> String
}pub(all) struct Date {
year : Int
month : Int
day : Int
}pub struct DateTime {
year : Int
month : Int
day : Int
hour : Int
minute : Int
second : Int
}pub(all) enum Locale {
Ar
BnBD
CaES
DaDK
DeDE
ElGR
Eo
EsES
Eu
FaIR
FiFI
FrFR
HeIL
HuHU
IdID
ItIT
JaJP
KoKR
Lv
Nb
NlNL
PlPL
PtBR
PtPT
RuRU
SiLK
SkSK
SlSI
SvSE
Tlh
TrTR
UkUA
Uz
ViVN
ZhCN
ZhHK
En
Zh
}pub struct MsgId {
template : String
}pub(all) enum MsgKey {
ERR
SEC
MIN
HR
DAY
WK
NOW
RECENT
FUTURE
PAST
SCItmpl
EXPword1
EXPword2
EXPword3
EXPword4
EXPword5
EXPword6
}pub struct Rational {
numer : Int
denom : Int
}pub enum TimeUnit {
MICROSECONDS
MILLISECONDS
SECONDS
MINUTES
HOURS
DAYS
MONTHS
YEARS
}fn apnumber(value : String) -> Stringfn clamp(value : Double, floor? : Double?, ceil? : Double?, floor_token? : String, ceil_token? : String, format? : (Double) -> String) -> Stringfn deactivate() -> Unitfn decimal_separator() -> Stringfn format_fixed(value : Double, digits : Int) -> Stringfn fractional(value : String) -> Stringfn gettext(message : String) -> Stringfn intcomma(value : String, ndigits? : Int?) -> Stringfn integer_to_words(n : Int) -> Stringfn intword(value : String, format? : String) -> Stringfn lookup_plural(loc : Locale, singular : String, _plural : String, form : Int, default : String) -> Stringfn metric(value : Double, unit? : String, precision? : Int) -> Stringfn naturalsize(value : Double, binary? : Bool, gnu? : Bool, suffix? : String, format? : String, symbols? : String?) -> Stringfn ngettext(singular : String, plural : String, num : Int) -> Stringfn ordinal(value : String) -> Stringfn pgettext(msgctxt : String, message : String) -> Stringfn scientific(value : String, precision? : Int) -> Stringfn scientific_localized(value : Double, precision? : Int, exponent? : Int, locale? : Locale) -> Stringfn thousands_separator() -> Stringfn to_decimal(value : Double, decimals? : Int) -> Stringfn to_scientific(value : Double, precision? : Int, exponent? : Int) -> Stringfn to_superscript(s : String) -> StringInstall
Download zipMoonBit port of python-humanize: human-readable text formatting.