Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 7
Registered: ‎07-20-2009
My Device: Not Specified

Converting ASN.1 UTCTime to plain format with time-zone support

Hello,

 

I need to convert a date/time in ASN.1-DER format (e.g. "110613140245Z") to its plain human readable equivalent, like e.g. (based on the previous example) "2011-06-13 16:02:45 CEST", taking into account the local timezone.

 

After much browsing of the BB API reference, it seems to me that the BB Java runtime offers no means to achieve my goal in a straight-forward manner.

 

Can anybody give a hand?

Code samples?

OSS libraries compatible with RIM OS 4.5 and later?

Any hints whatever?

 

TIA