<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
  <Java>Date</Java>
  <Name>System.DateTime</Name>
  <Uses />
  <Inherits />
  <Methods>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
      </Imports>
      <Java>DateTimeSupport.parse(${s})</Java>
      <Params>
        <Param>
          <Type>System.String</Type>
          <Name>s</Name>
        </Param>
      </Params>
      <Name>Parse</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
      </Imports>
      <Java>DateTimeSupport.parse(${s}, ${provider})</Java>
      <Params>
        <Param>
          <Type>System.String</Type>
          <Name>s</Name>
        </Param>
        <Param>
          <Type>System.IFormatProvider</Type>
          <Name>provider</Name>
        </Param>
      </Params>
      <Name>Parse</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.*</string>
      </Imports>
      <Java>DateTimeSupport.ToString(${this}, ${format})</Java>
      <Params>
        <Param>
          <Type>System.String</Type>
          <Name>format</Name>
        </Param>
      </Params>
      <Name>ToString</Name>
      <Return>System.String</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
      </Imports>
      <Java>DateTimeSupport.ToString(${this}, ${format}, ${provider})</Java>
      <Params>
        <Param>
          <Type>System.String</Type>
          <Name>format</Name>
        </Param>
        <Param>
          <Type>System.IFormatProvider</Type>
          <Name>provider</Name>
        </Param>
      </Params>
      <Name>ToString</Name>
      <Return>System.String</Return>
    </Method>
    <Method>
      <Imports>
        <string>java.text.SimpleDateFormat</string>
      </Imports>
      <Java>(new SimpleDateFormat("MM/dd/yyyy HH:mm:ss a")).format(${this})</Java>
      <Params />
      <Name>ToString</Name>
      <Return>System.String</Return>
    </Method>
    <Method>
      <Imports>
        <string>java.text.SimpleDateFormat</string>
      </Imports>
      <Java>(new SimpleDateFormat("MM/dd/yy")).format(${this})</Java>
      <Params />
      <Name>ToShortDateString</Name>
      <Return>System.String</Return>
    </Method>
    <Method>
      <Imports />
      <Java>${t1}.compareTo(${t2})</Java>
      <Params>
        <Param>
          <Type>System.DateTime</Type>
          <Name>t1</Name>
        </Param>
        <Param>
          <Type>System.DateTime</Type>
          <Name>t2</Name>
        </Param>
      </Params>
      <Name>Compare</Name>
      <Return>System.Int32</Return>
    </Method>
    <Method>
      <Imports />
      <Java>${this}.compareTo(${value})</Java>
      <Params>
        <Param>
          <Type>System.DateTime</Type>
          <Name>value</Name>
        </Param>
      </Params>
      <Name>CompareTo</Name>
      <Return>System.Int32</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTZ</string>
        <string>java.util.TimeZone</string>
      </Imports>
      <Java>(new DateTZ(${this}.getTime(), TimeZone.getTimeZone("UTC")))</Java>
      <Params />
      <Name>ToUniversalTime</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.MINUTE,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddMinutes</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.HOUR,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddHours</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.MILLISECOND,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddMilliseconds</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.SECOND,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddSeconds</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.DAY_OF_YEAR,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddDays</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>DateTimeSupport.add(${this},Calendar.MONTH,${amount})</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>amount</Name>
        </Param>
      </Params>
      <Name>AddMonths</Name>
      <Return>System.DateTime</Return>
    </Method>
    <Method>
      <Imports>
        <string>RusticiSoftware.System.DateTimeSupport</string>
      </Imports>
      <Java>(new TimeSpan(Math.abs(${this}.getTime() - ${date2}.getTime())))</Java>
      <Params>
        <Param>
          <Type>System.DateTime</Type>
          <Name>date2</Name>
        </Param>
      </Params>
      <Name>Subtract</Name>
      <Return>System.TimeSpan</Return>
    </Method>
  </Methods>
  <Properties>
    <Property>
      <Imports>
        <string>java.util.Calendar</string>
      </Imports>
      <Java>Calendar.getInstance().getTime()</Java>
      <Type>System.DateTime</Type>
      <Name>Now</Name>
      <Get>Calendar.getInstance().getTime()</Get>
      <Set>${this}.setNow(${value})</Set>
    </Property>
    <Property>
      <Imports>
        <string>java.util.Date</string>
      </Imports>
      <Java>new Date()</Java>
      <Type>System.DateTime</Type>
      <Name>Today</Name>
      <Get>new Date()</Get>
      <Set>${this}.setToday(${value})</Set>
    </Property>
  </Properties>
  <Events />
  <Indexers />
  <Constructors>
    <Constructor>
      <Imports>
        <string>java.util.GregorianCalendar</string>
      </Imports>
      <Java>new GregorianCalendar(${year}, ${month}-1, ${day}).getTime()</Java>
      <Params>
        <Param>
          <Type>System.Int32</Type>
          <Name>year</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>month</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>day</Name>
        </Param>
      </Params>
    </Constructor>
  </Constructors>
  <Fields />
  <Casts />
  <UnaryOps />
  <BinaryOps />
</Class>