The java.text Package
The mapping between the Java java.text package and the corresponding .NET types is provided in Table F-11.
Table F-11. The Java to .NET Mapping for the java.text Package
Java | .NET |
|---|---|
ChoiceFormat | N/A |
DateFormat | System.DateTime |
System.Globalization.DateTimeFormatInfo | |
DateFormatSymbols | System.Globalization.DateTimeFormatInfo |
FieldPosition | N/A |
MessageFormat | N/A (Formatting is built into classes that implement the System.IFormattable interface.) |
NumberFormat | System.Convert |
System.Globalization.NumberFormatInfo | |
Formatting is built into classes that implement the System.IFormattable interface. | |
ParsePosition | N/A |
RuleBasedCollator | N/A |
SimpleDateFormat | System.DateTime |
System.Globalization.DateTimeFormatInfo | |
StringCharacterIterator | System.IEnumerator obtained ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access