1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
Kevin Glynn 959c489922 Merged from Rustici Trunk:
------------------------------------------------------------------------
r14544 | david.ells | 2010-12-12 00:14:41 +0100 (Sun, 12 Dec 2010) | 1 line

Since java doesn't store better than milli seconds, drop extra fractions of a second from iso timestamps beyond millis
------------------------------------------------------------------------
r14536 | david.ells | 2010-12-10 01:00:29 +0100 (Fri, 10 Dec 2010) | 1 line

Avoid NPE in XmlText when the value of the node is null
------------------------------------------------------------------------
r14527 | david.ells | 2010-12-08 18:21:43 +0100 (Wed, 08 Dec 2010) | 1 line

Add Subtract method to DateTime in CS2J types
------------------------------------------------------------------------
r14524 | david.ells | 2010-12-08 16:22:42 +0100 (Wed, 08 Dec 2010) | 1 line

Add count property
------------------------------------------------------------------------
r14411 | david.ells | 2010-11-18 05:29:46 +0100 (Thu, 18 Nov 2010) | 1 line

Exclude PENS for non ssp builds, add CS2J rule for .NET exception InnerException member
------------------------------------------------------------------------
r14294 | troy.foster | 2010-11-02 19:23:18 +0100 (Tue, 02 Nov 2010) | 1 line

change to handle XmlAttributeCollection appending
------------------------------------------------------------------------
r14074 | troy.foster | 2010-10-15 19:15:15 +0200 (Fri, 15 Oct 2010) | 1 line

Added support for the ToUpperInvariant and ToLowerInvariant functions of both classes
2010-12-22 15:08:31 +01:00

142 lines
3.7 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>System.Char</Name>
<Java>char</Java>
<Inherits>
<Type>System.IComparable</Type>
<Type>System.IFormattable</Type>
<Type>System.IConvertible</Type>
</Inherits>
<Properties>
<Property>
<Name>MinValue</Name>
<Type>System.Char</Type>
<Get>Character.MIN_VALUE</Get>
</Property>
<Property>
<Name>MaxValue</Name>
<Type>System.Char</Type>
<Get>Character.MAX_VALUE</Get>
</Property>
</Properties>
<Methods>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Java>String.valueOf(${this})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsDigit</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isDigit(${ch})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsLetter</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isLetter(${ch})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsLetterOrDigit</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isLetterOrDigit(${ch})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsUpper</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isUpperCase(${ch})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsLower</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isLowerCase(${ch})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>IsWhiteSpace</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.isWhitespace(${ch})</Java>
</Method>
<Method>
<Return>System.Char</Return>
<Name>ToUpper</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.toUpperCase(${ch})</Java>
</Method>
<Method>
<Return>System.Char</Return>
<Name>ToLower</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.toLowerCase(${ch})</Java>
</Method>
<Method>
<Return>System.Char</Return>
<Name>ToUpperInvariant</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.toUpperCase(${ch})</Java>
</Method>
<Method>
<Return>System.Char</Return>
<Name>ToLowerInvariant</Name>
<Params>
<Param>
<Type>System.Char</Type>
<Name>ch</Name>
</Param>
</Params>
<Java>Character.toLowerCase(${ch})</Java>
</Method>
</Methods>
</Class>