Skip to content
/ ordinal Public

java library to get ordinal suffix according to Locale

Notifications You must be signed in to change notification settings

bunjix/ordinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Description

Small library to get ordinal suffix for int value base on java.util.Locale.

##Usage

final Ordinal englishOrdinal = Ordinal.forLocale(Locale.ENGLISH);
System.out.prinln("You arrived 1" + englishOrdinal.getSuffix(1));
System.out.prinln("The second is arrived 2" + englishOrdinal.getSuffix(2));

About

java library to get ordinal suffix according to Locale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published