Hi all:

I need help from all you java expert out there!!!

I am trying to construct a TreeMap in jkd 1.2 which will be a sorted map, 
and I wanted it to sorted by the way I specify it using the Collator class 
and its subclass RuleBasedCollator.  What I want to sort is the short month 
name in a year.  For example:

Jan, Feb, March, April, May, June, July, Aug, Sept, Oct, Nov, Dec

I need to come up with rule for the RuleBasedCollator class to sort the 
months...

I've try "<Jan < Feb < March< April< May< June< July< Aug< Sept< Oct< Nov< 
Dec"

but the TreeMap class sort it alphabetically instead of the order I want

Any hints?

Thanks you all in advance

Herman


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to