Stay organized with collections
Save and categorize content based on your preferences.
PatternInfo
class PatternInfo
PatternInfo supplies output parameters for addPattern(...). It is used because Java doesn't have real output parameters. It is treated like a struct (eg Point), so all fields are public.
Summary
Public constructors |
Simple constructor, since this is treated like a struct.
|
Constants
BASE_CONFLICT
static val BASE_CONFLICT: Int
Value: 1
CONFLICT
static val CONFLICT: Int
Value: 2
OK
static val OK: Int
Value: 0
Public constructors
PatternInfo
PatternInfo()
Simple constructor, since this is treated like a struct.
Properties
conflictingPattern
var conflictingPattern: String!
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,["# DateTimePatternGenerator.PatternInfo\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPatternInfo\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/DateTimePatternGenerator.PatternInfo \"View this page in Java\") \n\n```\nclass PatternInfo\n```\n\n|---|------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.icu.text.DateTimePatternGenerator.PatternInfo](#) |\n\nPatternInfo supplies output parameters for addPattern(...). It is used because Java doesn't have real output parameters. It is treated like a struct (eg Point), so all fields are public.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|---------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [BASE_CONFLICT](#BASE_CONFLICT:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CONFLICT](#CONFLICT:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [OK](#OK:kotlin.Int) \u003cbr /\u003e |\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------|---|\n| [PatternInfo](#PatternInfo())`()` Simple constructor, since this is treated like a struct. |\n\n| Properties ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [conflictingPattern](#conflictingPattern:kotlin.String) \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [status](#status:kotlin.Int) \u003cbr /\u003e |\n\nConstants\n---------\n\n### BASE_CONFLICT\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val BASE_CONFLICT: Int\n``` \n\n Value: 1\n\n### CONFLICT\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONFLICT: Int\n``` \n\n Value: 2\n\n### OK\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val OK: Int\n``` \n\n Value: 0\n\nPublic constructors\n-------------------\n\n### PatternInfo\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nPatternInfo()\n```\n\nSimple constructor, since this is treated like a struct.\n\nProperties\n----------\n\n### conflictingPattern\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar conflictingPattern: String!\n``` \n\n### status\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar status: Int\n```"]]