diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2018-07-26 03:08:22 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2018-07-26 03:08:22 +0000 |
commit | dd7b26018c0eacddc7681e48aee1c3cd1cf5c2a6 (patch) | |
tree | 3fe31a123d3ad7215daf739a8e17401d54920f29 /src/main | |
parent | b2aba90126da7421be9d30656354dda71d0de301 (diff) | |
download | jackcess-dd7b26018c0eacddc7681e48aee1c3cd1cf5c2a6.tar.gz jackcess-dd7b26018c0eacddc7681e48aee1c3cd1cf5c2a6.zip |
test custom EvalConfig; fix time format
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1186 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/expr/TemporalConfig.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/expr/TemporalConfig.java b/src/main/java/com/healthmarketscience/jackcess/expr/TemporalConfig.java index 1c5bd74..8059538 100644 --- a/src/main/java/com/healthmarketscience/jackcess/expr/TemporalConfig.java +++ b/src/main/java/com/healthmarketscience/jackcess/expr/TemporalConfig.java @@ -20,11 +20,11 @@ package com.healthmarketscience.jackcess.expr; * * @author James Ahlborn */ -public class TemporalConfig +public class TemporalConfig { public static final String US_DATE_FORMAT = "M/d/yyyy"; - public static final String US_TIME_FORMAT_12 = "hh:mm:ss a"; - public static final String US_TIME_FORMAT_24 = "HH:mm:ss"; + public static final String US_TIME_FORMAT_12 = "h:mm:ss a"; + public static final String US_TIME_FORMAT_24 = "H:mm:ss"; public static final TemporalConfig US_TEMPORAL_CONFIG = new TemporalConfig( US_DATE_FORMAT, US_TIME_FORMAT_12, US_TIME_FORMAT_24, '/', ':'); @@ -37,8 +37,8 @@ public class TemporalConfig private final String _dateTimeFormat12; private final String _dateTimeFormat24; - public TemporalConfig(String dateFormat, String timeFormat12, - String timeFormat24, char dateSeparator, + public TemporalConfig(String dateFormat, String timeFormat12, + String timeFormat24, char dateSeparator, char timeSeparator) { _dateFormat = dateFormat; |