We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MessageFormat
NumberFormatter
number
DateFormat.getInstanceForSkeleton
date
If you use these types, we should emit @RequiresApi(29/30) on the resulting functions.
@RequiresApi(29/30)
The text was updated successfully, but these errors were encountered:
DateFormat.getInstanceForSkeleton has been around since API 24. Does MessageFormat just not use it in APIs 24-29?
Sorry, something went wrong.
Can confirm a literal :: is printed on APIs 24-29.
::
Yeah I was just going on the docs. I did not test anything.
We'll need to check whether the resource containing :: has OS level variants. E.g. if somebody has:
values/strings.xml: <string name="foo">{date, date, yyyy-MM-dd}</string> values-v30/strings.xml: <string name="foo">{date, date, ::yyyy-MM-dd}</string>
then they shouldn't get a @RequiresApi annotation.
@RequiresApi
No branches or pull requests
MessageFormat
supports the skeleton text format of its newNumberFormatter
class for thenumber
type.MessageFormat
supports skeleton text format viaDateFormat.getInstanceForSkeleton
for thedate
type.If you use these types, we should emit
@RequiresApi(29/30)
on the resulting functions.The text was updated successfully, but these errors were encountered: