24 hourdate format Datefield.

Hi
I am using datefield component in vaadin. i want
24 hourformat
in datefield(Means remove
am
and
pm
) from datefiled.
i am able to achieve this one by using changing
locale to UK.

DateField df = new DateField(“Date”);
df.setResolution(Resolution.MINUTE);
df.setLocale(Locale.ENGLISH);

but i want to 24 hour format where locale should be
Locale.ENGLISH . and
without changing the
locale.UK.

please help me

Thanks
Santoshkumar.

Have you tried to create your own locale?

bLocale = new Locale(“en”, “US”);

Alternative:
I use
DateField.setDateFormat()
because I do not want to bring locale into the picture as there’s actually no locale that does what I want.