Java.Util.Date Members

The members of Java.Util.Date are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Initializes this Date instance to the current time.
Initializes this Date instance using the specified millisecond value.
Constructs a new Date initialized to the date and time parsed from the specified String.
Constructs a new Date initialized to midnight in the default TimeZone on the specified date.
Constructs a new Date initialized to the specified date and time in the default TimeZone.
Constructs a new Date initialized to the specified date and time in the default TimeZone.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
Dayint. Returns the gregorian calendar day of the week for this Date object.
Hoursint. Returns the gregorian calendar hour of the day for this Date object.
Minutesint. Returns the gregorian calendar minute of the hour for this Date object.
Monthint. Returns the gregorian calendar month for this Date object.
Secondsint. Returns the gregorian calendar second of the minute for this Date object.
Timelong. Returns this Date as a millisecond value.
[read-only]
TimezoneOffsetint. Returns the timezone offset in minutes of the default TimeZone.
Yearint. Returns the gregorian calendar year since 1900 for this Date object.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

After(Date) : bool
Returns if this Date is after the specified Date.
Before(Date) : bool
Returns if this Date is before the specified Date.
Clone() : Java.Lang.Object
Returns a new Date with the same millisecond value as this Date.
CompareTo(Date) : int
Compare the receiver to the specified Date to determine the relative ordering.
GetDate() : int
Returns the gregorian calendar day of the month for this Date object.
static
Parse(string) : long
Returns the millisecond value of the date and time parsed from the specified String.
SetDate(int)
Sets the gregorian calendar day of the month for this Date object.
ToGMTString() : string
Returns the string representation of this Date in GMT in the format "22 Jun 1999 13:02:00 GMT".
ToLocaleString() : string
Returns the string representation of this Date for the default Locale.
static
UTC(int, int, int, int, int, int) : long
Returns the millisecond value of the specified date and time in GMT.

Explicitly Implemented Interface Members

Java.Lang.IComparable.CompareToDocumentation for this section has not yet been entered.