Example Depot

Useful code samples
  • Home
  • Java
  • Contact
  • Blog
Java » Java packages

java.text

  • Adding an Attribute to a String
  • Comparing Strings in a Locale-Independent Way
  • Determining the Type of a Character
  • Incrementing a Double by the Smallest Possible Amount
  • Iterating the Characters of a String
  • Localizing Messages

Dates

  • Formatting a Date Using a Custom Format
  • Formatting and Parsing a Date for a Locale
  • Formatting and Parsing a Date Using Default Formats
  • Parsing a Date Using a Custom Format

Messsages

  • Formatting a Message Containing a Date
  • Formatting a Message Containing a Number
  • Formatting a Message Containing a Time

Numbers

  • Formatting a Number in Exponential Notation
  • Formatting a Number Using a Custom Format
  • Formatting and Parsing a Locale-Specific Percentage
  • Formatting and Parsing a Number for a Locale
  • Formatting and Parsing Locale-Specific Currency

Times

  • Formatting and Parsing a Time for a Locale
  • Formatting and Parsing a Time for a Locale Using Default Formats
  • Formatting the Time Using a Custom Format
  • Parsing the Time Using a Custom Format

Words and Sentences

  • Determining Potential Line Breaks in a Unicode String
  • Determining the Character Boundaries in a Unicode String
  • Determining the Sentence Boundaries in a Unicode String
  • Determining the Word Boundaries in a Unicode String

Login | Terms of Use | Trademarks | Privacy Statement
Copyright © 2009 Example Depot. All Rights Reserved.