How can I change the calendar to Gregorian while using locale "th_TH"?

We use the flasg.globalization.DateTimeFormatter to format our dates and it works like charm.
In thailand (locale th_TH) the date is shown like this 4/10/2556 which is correct because most of the people seems to use the buddhist-time. But unfortunatelly our client wants to display the gregorian-time for those pepole, too...
So I would like to know, how to get rid of this offset! Does someone has an idea?
Yours,
Uli

FInally the solution is very easy:
You can use "th_TH@calendar=gregorian" instead of "th_TH" while initilaizing the DateTimeFormatter!

Similar Messages

  • How can I change the phone number that's used for my iMessages

    How can I change the phone number that's used for my iMessages

    I Know but i did a number port and the iMessages is showing up using the original number that I had when I first purchased this phone from tmobile

  • How can i change the default application that Lion uses to open a document?

    how can i change the default application that Lion uses to open a document?

    Right-click on the document, select Get Info... In the lower half of the tall window that opens is a section labeled Open With (you may need to click on the disclosure triangle to see detail). Select from the pop-up list which app should open this document. If you want that to become the default condition, click on the Change All... button.

  • How can i change the calendar in upgrade 7.1 to a list of all appointments

    when i tap the list icon after upgrade 7.1 it only allows me to see the list of calendar of the day - how can i see the whole list

    <http://www.iphonehacks.com/2014/03/ios-7-1-event-list-calendar-app.html>
    <https://discussions.apple.com/thread/5985413?tstart=0>

  • How Can I change the default system editor to use it on Eclipse?

    Hi, I want to know something. In Eclipse, when I do the following with a file: Open With -> System Editor, GVIM is opened, and I would want to change this behaviour to another editor.
    How Can I perform this?
    Greetings

    Davigetto wrote:
    It doesn't work to eclipse... I don't know why, always gvim is opened... If I uninstall gvim, eclipse give me an error telling to me that was impossible to open the system editor.
    The variables mentioned above initially were empty (without content).
    Any more ideas?
    Greetings
    I'm pretty sure those ENV variables are only used for terminal / console operations, not GUI functionality. I think the confusing issue here, perhaps, was that Eclipse calls the option 'system editor.'
    What it is referring to, instead, is the application set in your file manager for opening a particular file type. For me, it opens Scite, as I have Scite set in Nautilus to open most 'text' types. However, I can change the behavior to open Komodo Edit for *.py files by simply right clicking on any *.py file, selecting 'Properties' and setting the appropriate editor in the 'Open with' tab. Now *.py files open in Komodo in any circumstance, including selecting 'Open wirh > system editor' in Eclipse.
    The procedure will be slightly different depending on your DE / file manager.
    Last edited by MrWeatherbee (2007-12-01 10:26:56)

  • How can I change the order of menu items using Term Store Navigation?

    A cool new feature in SharePoint 2013 is term store navigation. However SharePoint seems to be ordering my terms (menu tabs) alphabetically. This is not a desired action.
    I tried to enter the terms in the order I wanted them to appear (IE - Home, About, Contact etc. ) but my menus are still sorted by alpha (About, Contact, Home). I have tried to change the order using the interface but it doesn't seem to work.
    Any suggestions on how to obtain the desired effect?  If there is no workaround this feature is practically useless.
    The Web Guy

    Never mind, I just found the custom sort tab hidden away!
    The Web Guy

  • How can I change the startup language when I use the internet?

    I have the macbook pro that i have just bought in Russia. The reason I bought it here is because I wanted to have both the English and Russian letters on the keyboard. Apart from that I don't care much for the Russian system, since I have always used an American version mac.
    Anyway, on to the question. I have English and Russian setup as my two input languages on the computer. I know how to switch between them, and everything is fine. But, I have come across a problem that I never encountered before as all my macs have been purchased in America before this one. Every time I open a new internet window, tab, new program such as skype, it is always the Russian language that is selected, even if I have been using the American keyboard prior to that. It starts getting frustrating, especially when I get used to to typing something, and then without looking continue to type in a different page and look up to see a bunch of Russian letters making no sense.
    I hope there is a solution to that, and I won't just have to get annoyed with this for the rest of my relationship with my new macbook pro!

    Tom Gewecke wrote:
    Language Switcher is for changing the language of the menus and dialogues displayed by an app and does not affect the keyboard being used.
    i should have read the post more carefully
    thanks for the clarification, Tom !
    JGG

  • How can I change the iTunes account on a used computer

    I puchased a used laptop and need to change the itunes account.

    Go to the Store menu in iTunes and choose "Deauthorize this Computer".
    Then you'll have to go back to the same menu and choose "Authorize this Computer".
    Of course, this might delete any purchases made from this account and delete them from your iTunes library.

  • How can I change the screen time out when using the notification screen in zoom on the IPhone?

    To clarify, when I am using Zoom and using three fingers to move around on the notification screen.  The screen goes blank even if I am actively moving my fingers across the screen to read the screen.  Why does the notification screen not recognize active movement and go blank after a peiord of time.  I have very limited sight and rely heavly on SIri, text speak, and Zoom.

    Hi BlindmanJay,
    Thanks for using Apple Support Communities.
    iPhone: About General Settings
    http://support.apple.com/kb/ta38641
    Set the amount of time before iPhone locks
    Choose General > Auto-Lock and choose a time.
    Hope this helps,
    Mario

  • How can I change the default for reading a pdf?

    I accidentally set it to "notepad" so a bunch of code comes up instead of the pdf. How can I change the default? I'm using Firefox ESR 17.0.10. Thanks.

    Hello,
    # 1. go to the file that you want to fix
    # 2. right click it
    # 3. open with..
    # 4. choose default then Adobe reader

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • How can I change the date on my calendar?

    How can I change the date on my calendar?  For some reason, it thinks today's date is Dec. 31, 1969.

    - Go to settings>General>International and make sure that calendar is set to Gregorian.
    - Go to Settings>General>Date&Time and set the correct time and date. I iOS 5, set it to Automatic.

  • How can I change the color of birthday calendar?

    The birthday calendar in the new iPhone OS gets it color automatically. How can I change the color? It does not correspond to the color in iCal on my Mac.

    I figured out a solution for changing the other calendars but not the birthday calendar. Although it's not the most direct fix, it worked for me. Apparently Apple didn't think to give us the ability to choose the calendar color. I use Entourage and sync over the air. When I upgraded to iOS 4 my calendar turned bright red and the birthday calendar was blue. I don't use the birthday calendar so it isn't even enabled in my case. What finally worked was to go through the calendar colors one at a time by disabling and re-enabling the calendar in my mail account settings. I would double click the home button to quickly switch between settings and calendar to check the color each time I enabled the calendar. I had to do this 4 or 5 times to cycle through until blue came back up.

  • I am using a 5s under IOS 7.1.1. How can I change the year field directly when editing an existing calendar entry?

    I am using a 5s under IOS 7.1.1. How can I change the year field directly when editing an existing calendar entry?

    Glad that helped.
    Enjoy your iPhone!

  • How can I change the default city in my calendar?

    HOW CAN I CHANGE THE DEFAULT CITY IN MY CALENDAR?

    DEFAULTY CITY? CALENDAR? HUH?
    I am not quite sure what you are asking, but there's this:
    Your location for time purposes is set in System Preferences, Date & Time, Time Zone tab.
    If you are using iCal, there is a Time Zone option in iCal Preferences, Advanced.
    charlie

Maybe you are looking for