Hi Jodaers,

i have a question regarding the formatting of a time.
The PDF standard defines two times in its metadata and the time is
according to ASN.1 definded ISO/IEC 8824.

It is basically in this format:
(D:YYYYMMDDHHmmSSOHH'mm')

Whereas everything from year to second is no problem, the last part is
the tricky one:

O is the relationship of local time to Universal Time (UT), denoted by
one of the characters +, −, or Z (see below)
HH followed by ' is the absolute value of the offset from UT in hours
(00–23)
mm followed by ' is the absolute value of the offset from UT in minutes
(00–59)

For exampe:

D:199812231952−08'00'

My problem is, that i can not format a time with joda time (at least not
easily) because of the time zone offset.
Joda offers three choices:

-0800 - if using 'Z'
-08:00 - if using 'ZZ'
America/Los_Angeles - if using 'ZZZ'

But how can i get −08'00' ??

Thanks
ToM



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to