date - java calendar display name style for day of month with ordinal indicator -


can java used different styles of day_of_month?

i.e. "21st" , "22nd" rather "21" , "22"?

also 'st' , 'nd' @ end of dates called future reference?

jdk (including java 8) not offer solution out of box, , other libraries jodatime not. can @ question on so ideas.

furthermore, think can reasonably try solution ordinal day numbers english, other languages? important reason why no library can give support. in jodatime or jsr-310 there might english-only handwritten solution possible on base of introducing specialized field, example in jsr-310 interface java.time.temporal.temporalfield, surely lot of work.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -