BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-06-2008, 01:35 PM   #1 (permalink)
New Member
 
Join Date: Jan 2008
Model: 7100
PIN: N/A
Carrier: rogers
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to identify current time is 24 hours format or 12 hours format?

Please Login to Remove!

In my application, I need to know which time format(24 hours or 12 hours) device is using, and then display my application time format consistently with it.
But it seems all the method in dateFormat, simpledateFormat or calendar class can only find out AM_PM field's value, e.g. if it is 24 hours format, time is 13:00, then AM_PM field will be PM, but I need to know if it is displaying AM or PM, or if it is 24 hours or 12 hours format.
Does anyone have any idea about this? thanks..
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Tremetrics HT Wizard Ultra HT550 Automatic Hearing Conservation Audiometer
$39.0
Tremetrics HT Wizard Ultra HT550 Automatic Hearing Conservation Audiometer pictureDell Precision T3500 - Xeon QC E5506@2.13Ghz - 6GB DDR3 - No HDD/Video/OS |
$124.45
Dell Precision T3500 - Xeon QC E5506@2.13Ghz - 6GB DDR3 - No HDD/Video/OS | pictureLOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310
$19.99
LOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310 pictureSUPERMICRO X5DPL-8GM MOTHERBOARD W/ (2) INTEL XEON RAM:1GB
$179.95
SUPERMICRO X5DPL-8GM MOTHERBOARD W/ (2) INTEL XEON RAM:1GB pictureINTEL PROCESSOR 550MHZ PENTIUM III XEON W/HEAT SINK SL3AJ
$3.99
INTEL PROCESSOR 550MHZ PENTIUM III XEON W/HEAT SINK  SL3AJ picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.