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 via System.String |