Help me to get the loCale
Please support our Java advertiser: Programming Forums
![]() |
You can use the Locale to parse a certain Date object:
SimpleDateFormat.html
And use the constructor with the Locale as argument.
But I don't think that what you are asking is possible.
SimpleDateFormat.html
And use the constructor with the Locale as argument.
SimpleDateFormat(/*String pattern*/ "dd/MM/yyyy", Locale.ENGLISH)
But I don't think that what you are asking is possible.
There are 3 ways to do things:
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
The right way, the wrong way,
And The Object Oriented Way.
When you do things your way, make sure you don't forget the Object Oriented Way
Can any one send me a link to to download a Datepicker for my swing based application.The date picker must support the default locale.ie when i give a US date ,It must be shown as the defult locale date format ?please help me...
Also can any one help me to convert the US date to all other date formats.
For eg:
when i give setDate("05/01/2008"); //Usdate MM/dd/yyyy
the i must get the date in all different formats like dd/mm/yyyy,yyyy/dd/mm etc..
Please help me to solve this issue
Also can any one help me to convert the US date to all other date formats.
For eg:
when i give setDate("05/01/2008"); //Usdate MM/dd/yyyy
the i must get the date in all different formats like dd/mm/yyyy,yyyy/dd/mm etc..
Please help me to solve this issue
![]() |
Similar Threads
Other Threads in the Java Forum
- Windows installer popping up (Windows NT / 2000 / XP / 2003)
- CPU use stuck at 100% (Viruses, Spyware and other Nasties)
- How Can I Pass A PHP Variable From One .php page to another (PHP)
- Prog to list ASCII codes (beginners' stuff) (C)
- Can't get to the bios! (Windows NT / 2000 / XP / 2003)
- F1 to continue (Windows NT / 2000 / XP / 2003)
- configuring Xfree86? (Window and Desktop Managers)
- Disappearing Drive in Win XP (Storage)
- Connection Problems (Networking Hardware Configuration)
Other Threads in the Java Forum
- Previous Thread: What is the code for exponent in java?
- Next Thread: painting images and playing sounds at the same time???
•
•
•
•
Views: 975 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode