• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i18n

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been reviewing some older apps that use sun.text.*, sun.text.resources.* According to the FAQ's sun.* packages should not be used. So what packages/classes should be used instead? I'm thinking java.text.* but its difficult to tell as there is deliberately no documentation on the sun.* packages.

Any help would be appreciated
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you trying to do?
If you can describe your problem in detail it will help us to be able to recommend a suitable way of solving it.
 
Alice Corman
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tony,

Thanks for taking the time to respond. Sorry for the cryptic question. I didn't have much information to go on but after reviewing the code I discovered out those classes were used to handle date and number formatting for a given locale. It took some researching but I figured out the classes I should be using are java.text.* plus java.util.Locale and TimeZone.

Problem solved. Phew ;-)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic