The methods of Android.Text.Format.Time are listed below. For a list of all members, see the Time Members list.
See Also: Inherited members from Java.Lang.Object
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. |