System.DateTime
java.util.Date
Date
year
System.Int32
month
System.Int32
day
System.Int32
java.util.GregorianCalendar
new GregorianCalendar(${year}, ${month}-1, ${day}).getTime()
System.DateTime
Now
java.util.Calendar
Calendar.getInstance().getTime()
System.DateTime
Today
java.util.Date
new Date()
System.DateTime
Parse
System.String
s
RusticiSoftware.System.DateTimeSupport
DateTimeSupport.parse(${s})
System.DateTime
Parse
System.String
s
System.IFormatProvider
provider
RusticiSoftware.System.DateTimeSupport
DateTimeSupport.parse(${s}, ${provider})
System.String
ToString
System.String
format
RusticiSoftware.System.*
DateTimeSupport.ToString(${this}, ${format})
System.String
ToString
System.String
format
System.IFormatProvider
provider
RusticiSoftware.System.DateTimeSupport
DateTimeSupport.ToString(${this}, ${format}, ${provider})
System.String
ToString
java.text.SimpleDateFormat
(new SimpleDateFormat("MM/dd/yyyy HH:mm:ss a")).format(${this})
System.String
ToShortDateString
java.text.SimpleDateFormat
(new SimpleDateFormat("MM/dd/yy")).format(${this})
System.Int32
Compare
System.DateTime
t1
System.DateTime
t2
${t1}.compareTo(${t2})
System.Int32
CompareTo
System.DateTime
value
${this}.compareTo(${value})
System.DateTime
ToUniversalTime
RusticiSoftware.System.DateTZ
java.util.TimeZone
(new DateTZ(${this}.getTime(), TimeZone.getTimeZone("UTC")))
System.DateTime
AddMinutes
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.MINUTE,${amount})
System.DateTime
AddHours
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.HOUR,${amount})
System.DateTime
AddMilliseconds
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.MILLISECOND,${amount})
System.DateTime
AddSeconds
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.SECOND,${amount})
System.DateTime
AddDays
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.DAY_OF_YEAR,${amount})
System.DateTime
AddMonths
System.Int32
amount
RusticiSoftware.System.DateTimeSupport
java.util.Calendar
DateTimeSupport.add(${this},Calendar.MONTH,${amount})
System.TimeSpan
Subtract
System.DateTime
date2
RusticiSoftware.System.DateTimeSupport
(new TimeSpan(Math.abs(${this}.getTime() - ${date2}.getTime())))