Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Convert between Locale and String #3172

Copy link
Copy link

Description

@Blackbaud-JasonBodnar
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.