Regards
Azrael Noor
Regards
Azrael Noor
Regards
Azrael Noor
Azrael Noor wrote:There is one problem in this, i need to send MONDAY as argument,
what i need was to no requirement of sending MONDAY to my own class for conversion....
some inbuilt which gives int value for monday by taking monday as it's parameter?
Azrael Noor wrote:There is one problem in this, i need to send MONDAY as argument,
what i need was to no requirement of sending MONDAY to my own class for conversion....
some inbuilt which gives int value for monday by taking monday as it's parameter?
I'm sorry I didn't get it. Could you please explain it a bit more?
You can use Strings as cases after switch.
You can use a Map<String, Integer>.
Why not just take the array index and add 1?
Regards
Azrael Noor
Regards
Azrael Noor
I need Classes like Date, Calendar, XMLGregorianCalendar types which could deal with situation in few lines. If anyone have suggestion please share
till yet everyone give nice viewpoints, thank you all
Regards
Azrael Noor
Consider Paul's rocket mass heater. |