Im trying to get a list of all the date formats salesforce expects for all the supported locales in my org. I already have the list of locales codes displayed on a visualforce page. I just need the date formats. Is there a way to get this? The formats I have are incorrect.
Update: Im asking where can I get the dateformats I want to add a new locale to my map or is there a way I can write apex to just spit out all the date formats for me so I can update this map with the correct format versus referring to this https://help.salesforce.com/articleView?id=admin_supported_locales.htm&type=0.
I want to do something like this solution https://salesforce.stackexchange.com/a/23908/50846 but with the date formats also.
Example below:
en_US(locale) = mm/dd/yyyy(date format)