Convert between Locale and String
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1k
Closed
Closed
Labels
Milestone
Description
Use case
MapStruct should convert between Locale and String using toLanguageTag() and forLanguageTag(). While Locale has a toString() it does not have a way to parse the result so language tags are a better string version of a Locale.
I'll have a PR shortly.
Generated Code
No response
Possible workarounds
No response
MapStruct Version
No response
Metadata
Metadata
Assignees
No one assigned
Labels
Type
No type
Projects
No projects
Milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions