Is it possible to get the pattern string representation of a 
DateTimeFormatter?

Even if some information gets lost and the pattern is a simplified 
representation, because there is no pattern representation for it (as 
explained in freaky formatters in the user guide) it would be extremly 
helpfull because my central input routines for date and time values 
(prepocessing and completing input) heavily relay on it (for example to 
know the order of day and month "dd.MM.yyyy" or "yyyy-MM-dd" or anything 
else).

Till now I used java.text.SimpleDateFormat.toPattern() for this but as I 
now try to change to joda-time I want to use the DateTimeFormatter to 
get rid of java.util.Date related dependencies as much as possible.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to