开发者

Change in Date Picker According To Localization

开发者 https://www.devze.com 2023-04-04 07:05 出处:网络
I have used Localization in my application for locale and language setting. But the problem is it changes the \"date Picker\" too according to the locale. I do not want this to happen.

I have used Localization in my application for locale and language setting. But the problem is it changes the "date Picker" too according to the locale. I do not want this to happen.

I have to parse this date for later purpo开发者_开发技巧se. So i want the date picker to remain same in all locale.

Let me know if any one has the solution.

thanks

Sneha


Are you talking about the DatePicker? If yes, then the format it uses shouldn't matter to you, as the getYear(), getMonth() and getDayOfMonth() methods will work the same, no matter the format.

0

精彩评论

暂无评论...
验证码 换一张
取 消