Small fixes.
This commit is contained in:
parent
6b0623ffc1
commit
d1f27dcb7c
2 changed files with 8 additions and 8 deletions
|
@ -20,10 +20,10 @@ public class DateHelper
|
|||
{
|
||||
//static private org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger (DateHelper.class);
|
||||
|
||||
static final String EUROPEAN_DATE_FORMAT = "%02/%02/%04";
|
||||
static final String RAW_DATE_FORMAT = "%04%02%02";
|
||||
static final String ISO_DATE_FORMAT = "%04-%02-%02";
|
||||
static final String AMERICAN_DATE_FORMAT = "%02/%02/%04";
|
||||
static final String EUROPEAN_DATE_FORMAT = "%02d/%02d/%04d";
|
||||
static final String RAW_DATE_FORMAT = "%04d%02d%02d";
|
||||
static final String ISO_DATE_FORMAT = "%04d-%02d-%02d";
|
||||
static final String AMERICAN_DATE_FORMAT = "%02d/%02d/%04d";
|
||||
|
||||
static final String EUROPEAN_DATE_PATTERN = "^([0123]{0,1}\\d)/([01]{0,1}\\d)/(\\d\\d\\d\\d)$";
|
||||
static final String RAW_DATE_PATTERN = "^(\\d\\d\\d\\d)([01]\\d)([0123]\\d)$";
|
||||
|
|
|
@ -15,10 +15,10 @@ public class DateTimeHelper
|
|||
{
|
||||
//static private org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger (DateTimeHelper.class);
|
||||
|
||||
static final String EUROPEAN_DATE_FORMAT = "%02/%02/%04 %02:%02:%02";
|
||||
static final String RAW_DATE_FORMAT = "%04%02%02 %02:%02:%02";
|
||||
static final String ISO_DATE_FORMAT = "%04-%02-%02 %02:%02:%02";
|
||||
static final String AMERICAN_DATE_FORMAT = "%02/%02/%04 %02:%02:%02";
|
||||
static final String EUROPEAN_DATE_FORMAT = "%02d/%02d/%04d %02d:%02d:%02d";
|
||||
static final String RAW_DATE_FORMAT = "%04d%02d%02d %02d:%02d:%02d";
|
||||
static final String ISO_DATE_FORMAT = "%04d-%02d-%02d %02d:%02d:%02d";
|
||||
static final String AMERICAN_DATE_FORMAT = "%02d/%02d/%04d %02d:%02d:%02d";
|
||||
|
||||
static final String EUROPEAN_DATE_PATTERN = "^([0123]{0,1}\\d)/([01]{0,1}\\d)/(\\d\\d\\d\\d)$";
|
||||
static final String RAW_DATE_PATTERN = "^(\\d\\d\\d\\d)([01]\\d)([0123]\\d)$";
|
||||
|
|
Loading…
Reference in a new issue