| Parses date format strings into
org.openharmonise.swing.datefield.DateFormatBlock objects. The format string is based on the
java.text.SimpleDateFormat one with some
caveats:
1) Only numerical representations of dates are allowed, except for the Era
field with can only be represented as "AD" or "BC".
2) The format length for each field needs to be the same length as the expected
input. So for a 4 digit year you must use "yyyy", where as the
java.text.SimpleDateFormat class will accept "yyy" and "yyyyy". The only excpetion to this rule is the Era field
which must be represented as "G".
author: Matthew Large version: $Revision: 1.1 $ |