A.5. The java.text Package

The java.text package contains utility classes for text processing and formatting, including date and numerical formatting. Table A.8 shows the Java and .NET counterparts.

Table A.8. The java.text Package Classes and Their .NET Counterparts
Java.NET
DateFormatSystem.DateTime
DateFormatSymbolsSystem.Globalization.DateTimeFormatInfo
NumberFormatSystem.Globalization.NumberFormatInfo
SimpleDateFormatSystem.Globalization.DateTimeFormatInfo
StringCharacterIteratorSystem.IEnumerator (System.String)
Table A.9. The org.w3c.dom Package Classes and Their .NET Counterparts
Java.NET
AttrSystem.Xml.XmlAttribute
CdataSectionSystem.Xml.XmlCDataSection
CharacterDataSystem.Xml.XmlCharacterData
CommentSystem.Xml.XmlComment
DocumentSystem.Xml.XmlDocument ...

Get .NET for Java Developers: Migrating to C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.