The members of Android.Text.Format.Time are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | EpochJulianDay | int (2440588). The Julian day of the epoch, that is, January 1, 1970 on the Gregorian calendar. |
const | TimezoneUtc | string. |
AllDay | bool. True if this is an allDay event. | |
[read-only] static | CurrentTimezone | string. Returns the timezone string that is currently set for the device. |
Gmtoff | long. Offset in seconds from UTC including any DST offset. | |
Hour | int. Hour of day [0-23] | |
IsDst | int. This time is in daylight savings time. | |
Minute | int. Minute [0-59] | |
Month | int. Month [0-11] | |
MonthDay | int. Day of month [1-31] | |
Second | int. Seconds [0-61] (2 leap seconds allowed) | |
Timezone | string. The timezone for this Time. | |
WeekDay | DayOfWeek. Day of week [0-6] | |
[read-only] | WeekNumber | int. Computes the week number according to ISO 8601. |
Year | int. Year. | |
YearDay | int. Day of year [0-365] |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
After(Time)Returns true if the time represented by this Time object occurs after the given time. | ||
Before(Time)Returns true if the time represented by this Time object occurs before the given time. | ||
Clear(string)Clears all values, setting the timezone to the given timezone. | ||
static | Compare(Time, Time)Compare two Time objects and return a negative number if a is less than b, a positive number if a is greater than b, or 0 if they are equal. | |
Format(string)Print the current value given the format string provided. | ||
Format2445()Format according to RFC 2445 DATE-TIME type. | ||
Format3339(bool)Return a string in the RFC 3339 format. | ||
GetActualMaximum(TimeFormatValues)Return the maximum possible value for the given field given the value of the other fields. | ||
static | GetJulianDay(long, long)Computes the Julian day number for a point in time in a particular timezone. | |
static | GetJulianMondayFromWeeksSinceEpoch(int)Takes a number of weeks since the epoch and calculates the Julian day of the Monday for that week. | |
static | GetWeeksSinceEpochFromJulianDay(int, int)Returns the week since Time.EpochJulianDay (Jan 1, 1970) adjusted for first day of week. | |
static | IsEpoch(Time)Returns true if the day of the given time is the epoch on the Julian Calendar (January 1, 1970 on the Gregorian calendar). | |
Normalize(bool)Ensures the values in each field are in range. | ||
Parse(string)Parses a date-time string in either the RFC 2445 format or an abbreviated format that does not include the "time" field. | ||
Parse3339(string)Parse a time in RFC 3339 format. | ||
Set(Time)Copy the value of that to this Time object. | ||
Set(long)Sets the fields in this Time object given the UTC milliseconds. | ||
Set(int, int, int)Sets the date from the given fields. | ||
Set(int, int, int, int, int, int)Sets the fields. | ||
SetJulianDay(int) | ||
SetToNow()Sets the time of the given Time object to the current time. | ||
SwitchTimezone(string)Convert this time object so the time represented remains the same, but is instead located in a different timezone. | ||
ToMillis(bool)Converts this time to milliseconds. |