Skip navigation links
D F G I J N O R T U 

D

DateUtils - Class in net.danlew.android.joda
A replacement for android.text.format.DateUtils that uses Joda-Time classes.
DateUtils() - Constructor for class net.danlew.android.joda.DateUtils
 

F

FORMAT_ABBREV_ALL - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_ABBREV_MONTH - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_ABBREV_RELATIVE - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_ABBREV_TIME - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_ABBREV_WEEKDAY - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_NO_MIDNIGHT - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_NO_MONTH_DAY - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_NO_NOON - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_NO_YEAR - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_NUMERIC_DATE - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_SHOW_DATE - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_SHOW_TIME - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_SHOW_WEEKDAY - Static variable in class net.danlew.android.joda.DateUtils
 
FORMAT_SHOW_YEAR - Static variable in class net.danlew.android.joda.DateUtils
 
formatDateRange(Context, ReadablePartial, ReadablePartial, int) - Static method in class net.danlew.android.joda.DateUtils
Formats a date or a time range according to the local conventions.
formatDateRange(Context, ReadableInstant, ReadableInstant, int) - Static method in class net.danlew.android.joda.DateUtils
Formats a date or a time range according to the local conventions.
formatDateTime(Context, ReadablePartial, int) - Static method in class net.danlew.android.joda.DateUtils
Formats a date or a time according to the local conventions.
formatDateTime(Context, ReadableInstant, int) - Static method in class net.danlew.android.joda.DateUtils
Formats a date or a time according to the local conventions.
formatDuration(Context, ReadableDuration) - Static method in class net.danlew.android.joda.DateUtils
Return given duration in a human-friendly format.
formatElapsedTime(ReadableDuration) - Static method in class net.danlew.android.joda.DateUtils
Formats an elapsed time in the form "MM:SS" or "H:MM:SS" for display on the call-in-progress screen.
formatElapsedTime(StringBuilder, ReadableDuration) - Static method in class net.danlew.android.joda.DateUtils
Formats an elapsed time in a format like "MM:SS" or "H:MM:SS" (using a form suited to the current locale), similar to that used on the call-in-progress screen.

G

getAvailableIDs() - Method in class net.danlew.android.joda.ResourceZoneInfoProvider
Gets a list of all the available zone ids.
getIdentifier(Class<?>, String) - Static method in class net.danlew.android.joda.ResUtils
Retrieves a resource id dynamically, via reflection.
getRelativeDateTimeString(Context, ReadablePartial, ReadablePeriod, int) - Static method in class net.danlew.android.joda.DateUtils
Return string describing the time until/elapsed time since 'time' formatted like "[relative time/date], [time]".
getRelativeDateTimeString(Context, ReadableInstant, ReadablePeriod, int) - Static method in class net.danlew.android.joda.DateUtils
Return string describing the time until/elapsed time since 'time' formatted like "[relative time/date], [time]".
getRelativeTimeSpanString(Context, ReadablePartial) - Static method in class net.danlew.android.joda.DateUtils
Returns a string describing 'time' as a time relative to the current time.
getRelativeTimeSpanString(Context, ReadableInstant) - Static method in class net.danlew.android.joda.DateUtils
Returns a string describing 'time' as a time relative to the current time.
getRelativeTimeSpanString(Context, ReadablePartial, int) - Static method in class net.danlew.android.joda.DateUtils
Returns a string describing 'time' as a time relative to the current time.
getRelativeTimeSpanString(Context, ReadableInstant, int) - Static method in class net.danlew.android.joda.DateUtils
Returns a string describing 'time' as a time relative to 'now'.
getRelativeTimeSpanString(Context, ReadablePartial, boolean) - Static method in class net.danlew.android.joda.DateUtils
Returns a relative time string to display the time expressed by millis.
getRelativeTimeSpanString(Context, ReadableInstant, boolean) - Static method in class net.danlew.android.joda.DateUtils
Returns a relative time string to display the time expressed by millis.
getTzResource(String) - Static method in class net.danlew.android.joda.ResUtils
Returns a resource name equivalent for a TZ ID
getZone(String) - Method in class net.danlew.android.joda.ResourceZoneInfoProvider
If an error is thrown while loading zone data, the exception is logged to system error and null is returned for this and all future requests.
getZoneInfoMapResource() - Static method in class net.danlew.android.joda.ResUtils
 

I

init(Context) - Static method in class net.danlew.android.joda.JodaTimeAndroid
Initializes ResourceZoneInfoProvider and registers an instance of TimeZoneChangedReceiver to receive android.intent.action.TIMEZONE_CHANGED broadcasts.
isToday(ReadablePartial) - Static method in class net.danlew.android.joda.DateUtils
See DateUtils.isToday(long) for full docs.
isToday(ReadableInstant) - Static method in class net.danlew.android.joda.DateUtils
See DateUtils.isToday(long) for full docs.

J

JodaTimeAndroid - Class in net.danlew.android.joda
Provides a method to initialize the ResourceZoneInfoProvider and register a TimeZoneChangedReceiver to receive android.intent.action.TIMEZONE_CHANGED broadcasts while the application process is running.

N

net.danlew.android.joda - package net.danlew.android.joda
 

O

onReceive(Context, Intent) - Method in class net.danlew.android.joda.TimeZoneChangedReceiver
 

R

ResourceZoneInfoProvider - Class in net.danlew.android.joda
A version of ZoneInfoProvider that loads its data from Android resources.
ResourceZoneInfoProvider(Context) - Constructor for class net.danlew.android.joda.ResourceZoneInfoProvider
 
ResUtils - Class in net.danlew.android.joda
Utilities for translating the normal output of ZoneInfoCompiler/ ZoneInfoProvider into the raw resources for Android
ResUtils() - Constructor for class net.danlew.android.joda.ResUtils
 

T

TimeZoneChangedReceiver - Class in net.danlew.android.joda
Listens for android.intent.action.TIMEZONE_CHANGED and adjusts default DateTimeZone as necessary.
TimeZoneChangedReceiver() - Constructor for class net.danlew.android.joda.TimeZoneChangedReceiver
 

U

uncaughtException(Exception) - Method in class net.danlew.android.joda.ResourceZoneInfoProvider
Called if an exception is thrown from getZone while loading zone data.
D F G I J N O R T U 
Skip navigation links