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.
Java | .NET |
---|---|
DateFormat | System.DateTime |
DateFormatSymbols | System.Globalization.DateTimeFormatInfo |
NumberFormat | System.Globalization.NumberFormatInfo |
SimpleDateFormat | System.Globalization.DateTimeFormatInfo |
StringCharacterIterator | System.IEnumerator (System.String) |
Java | .NET |
---|---|
Attr | System.Xml.XmlAttribute |
CdataSection | System.Xml.XmlCDataSection |
CharacterData | System.Xml.XmlCharacterData |
Comment | System.Xml.XmlComment |
Document | System.Xml.XmlDocument |
DocumentFragment | System.Xml.XmlDocumentFragment |
DocumentType | System.Xml.XmlDocumentType |
DOMImplementation | System.Xml.XmlImplementation |
Element | System.Xml.XmlElement |
Entity | System.Xml.XmlEntity |
EntityReference | System.Xml.XmlEntityReference |
NamedNodeMap | System.Xml.XmlNamedNodeMap |
Node | System.Xml.XmlNode |
NodeList | System.Xml.XmlNodeList |
Notation | System.Xml.XmlNotation |
ProcessingInstruction | System.Xml.XmlProcessingInstruction |
DOMException | System.ArgumentException |
3.138.105.215