Stay organized with collections
Save and categorize content based on your preferences.
R.plurals
public
static
final
class
R.plurals
extends Object
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
time_difference_short_days
public static int time_difference_short_days
A representation of a number of days in the shortest possible way. For example, "3d" for
three days. If at all possible, just one character should be used, but this should
allow days, hours and minutes to be distinguished (see time_difference_short_hours
and time_difference_short_minutes below). The user will understand that the context is
an amount of time, so even though "3d" does not normally mean "three days" in English,
it is appropriate here. If absolutely necessary, up to four characters may be used.
If the space can be omitted then it should be even if a space would usually be included
between a number and a unit, but if it is necessary to include a space then one may be used.
[CHAR LIMIT=5]
time_difference_short_hours
public static int time_difference_short_hours
A representation of a number of hours in the shortest possible way. For example, "3h" for
three hours. If at all possible, just one character should be used, but this should
allow days, hours and minutes to be distinguished (see time_difference_short_days
and time_difference_short_minutes). The user will understand that the context is
an amount of time, so even though "3h" does not normally mean "three hours" in English,
it is appropriate here. If absolutely necessary, up to four characters may be used.
If the space can be omitted then it should be even if a space would usually be included
between a number and a unit, but if it is necessary to include a space then one may be used.
[CHAR LIMIT=6]
time_difference_short_minutes
public static int time_difference_short_minutes
A representation of a number of minutes in the shortest possible way. For example, "45m" for
forty-five minutes. If at all possible, just one character should be used, but this should
allow days, hours and minutes to be distinguished (see time_difference_short_days
and time_difference_short_hours). The user will understand that the context is
an amount of time, so even though "3m" does not normally mean "three minutes" in English,
it is appropriate here. If absolutely necessary, up to four characters may be used.
If the space can be omitted then it should be even if a space would usually be included
between a number and a unit, but if it is necessary to include a space then one may be used.
[CHAR LIMIT=5]
time_difference_words_days
public static int time_difference_words_days
A representation of a number of days, abbreviated if possible. For example, "3 days" for
three days. [CHAR LIMIT=8]
time_difference_words_hours
public static int time_difference_words_hours
A representation of a number of hours as a single word, abbreviated if possible. For
example, "5 hours" for five hours. [CHAR LIMIT=8]
time_difference_words_minutes
public static int time_difference_words_minutes
A representation of a number of minutes as a single word, abbreviated if possible. For
example, "12 minutes" for twelve minutes. [CHAR LIMIT=8]
Public constructors
plurals
public plurals ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# R.plurals\n\nSummary: [Fields](#lfields) \\| [Ctors](#pubctors) \\| [Inherited Methods](#inhmethods) \n\nR.plurals\n=========\n\n\n`\npublic\nstatic\nfinal\n\nclass\nR.plurals\n`\n\n\n`\n\nextends `[Object](http://developer.android.com/reference/java/lang/Object.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------|\n| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) ||\n| ↳ | android.support.wearable.R.plurals |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Fields ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` public static int` | [time_difference_short_days](../../../../reference/android/support/wearable/R.plurals.html#time_difference_short_days) A representation of a number of days in the shortest possible way. |\n| ` public static int` | [time_difference_short_hours](../../../../reference/android/support/wearable/R.plurals.html#time_difference_short_hours) A representation of a number of hours in the shortest possible way. |\n| ` public static int` | [time_difference_short_minutes](../../../../reference/android/support/wearable/R.plurals.html#time_difference_short_minutes) A representation of a number of minutes in the shortest possible way. |\n| ` public static int` | [time_difference_words_days](../../../../reference/android/support/wearable/R.plurals.html#time_difference_words_days) A representation of a number of days, abbreviated if possible. |\n| ` public static int` | [time_difference_words_hours](../../../../reference/android/support/wearable/R.plurals.html#time_difference_words_hours) A representation of a number of hours as a single word, abbreviated if possible. |\n| ` public static int` | [time_difference_words_minutes](../../../../reference/android/support/wearable/R.plurals.html#time_difference_words_minutes) A representation of a number of minutes as a single word, abbreviated if possible. |\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------|---|\n| ` `[plurals](../../../../reference/android/support/wearable/R.plurals.html#plurals())`() ` |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](http://developer.android.com/reference/java/lang/Object.html)` ` |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` `[Object](http://developer.android.com/reference/java/lang/Object.html) | ` clone() ` | | ` boolean` | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void` | ` finalize() ` | | ` final `[Class](http://developer.android.com/reference/java/lang/Class.html)`\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` `[String](http://developer.android.com/reference/java/lang/String.html) | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nFields\n------\n\n### time_difference_short_days\n\n```\npublic static int time_difference_short_days\n```\n\nA representation of a number of days in the shortest possible way. For example, \"3d\" for\nthree days. If at all possible, just one character should be used, but this should\nallow days, hours and minutes to be distinguished (see time_difference_short_hours\nand time_difference_short_minutes below). The user will understand that the context is\nan amount of time, so even though \"3d\" does not normally mean \"three days\" in English,\nit is appropriate here. If absolutely necessary, up to four characters may be used.\nIf the space can be omitted then it should be even if a space would usually be included\nbetween a number and a unit, but if it is necessary to include a space then one may be used.\n\\[CHAR LIMIT=5\\]\n\n\u003cbr /\u003e\n\n### time_difference_short_hours\n\n```\npublic static int time_difference_short_hours\n```\n\nA representation of a number of hours in the shortest possible way. For example, \"3h\" for\nthree hours. If at all possible, just one character should be used, but this should\nallow days, hours and minutes to be distinguished (see time_difference_short_days\nand time_difference_short_minutes). The user will understand that the context is\nan amount of time, so even though \"3h\" does not normally mean \"three hours\" in English,\nit is appropriate here. If absolutely necessary, up to four characters may be used.\nIf the space can be omitted then it should be even if a space would usually be included\nbetween a number and a unit, but if it is necessary to include a space then one may be used.\n\\[CHAR LIMIT=6\\]\n\n\u003cbr /\u003e\n\n### time_difference_short_minutes\n\n```\npublic static int time_difference_short_minutes\n```\n\nA representation of a number of minutes in the shortest possible way. For example, \"45m\" for\nforty-five minutes. If at all possible, just one character should be used, but this should\nallow days, hours and minutes to be distinguished (see time_difference_short_days\nand time_difference_short_hours). The user will understand that the context is\nan amount of time, so even though \"3m\" does not normally mean \"three minutes\" in English,\nit is appropriate here. If absolutely necessary, up to four characters may be used.\nIf the space can be omitted then it should be even if a space would usually be included\nbetween a number and a unit, but if it is necessary to include a space then one may be used.\n\\[CHAR LIMIT=5\\]\n\n\u003cbr /\u003e\n\n### time_difference_words_days\n\n```\npublic static int time_difference_words_days\n```\n\nA representation of a number of days, abbreviated if possible. For example, \"3 days\" for\nthree days. \\[CHAR LIMIT=8\\]\n\n\u003cbr /\u003e\n\n### time_difference_words_hours\n\n```\npublic static int time_difference_words_hours\n```\n\nA representation of a number of hours as a single word, abbreviated if possible. For\nexample, \"5 hours\" for five hours. \\[CHAR LIMIT=8\\]\n\n\u003cbr /\u003e\n\n### time_difference_words_minutes\n\n```\npublic static int time_difference_words_minutes\n```\n\nA representation of a number of minutes as a single word, abbreviated if possible. For\nexample, \"12 minutes\" for twelve minutes. \\[CHAR LIMIT=8\\]\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### plurals\n\n```\npublic plurals ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]