Skip to content

Commit

Permalink
Handle date, time, and timestamp parsing the same way
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Oct 5, 2007
1 parent 07da13d commit adfabe9
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -32,10 +32,8 @@
public class TableTemplate {
public static final String REQUIRED_FIELD_NULL_SUBSTITUTE = " ";

public static final String[] DATE_PATTERNS = { "yyyy-MM-dd" };

public static final String[] TIMESTAMP_PATTERNS = {
"yyyy-MM-dd HH:mm:ss.S", "yyyy-MM-dd HH:mm:ss" };
"yyyy-MM-dd HH:mm:ss.S", "yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd" };

private JdbcTemplate jdbcTemplate;

Expand Down

0 comments on commit adfabe9

Please sign in to comment.