Package adams.core
Class Constants
- java.lang.Object
-
- adams.core.Constants
-
- All Implemented Interfaces:
Serializable
public class Constants extends Object implements Serializable
Contains some commonly used constants.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static char[]
BACKQUOTE_CHARS
the characters to backquote.static String[]
BACKQUOTED_STRINGS
the backquoted string representations of characters to backquote.static String
DATE_FORMAT
the format for dates.static String
DUMMY_ID
the dummy ID.static char[]
ESCAPE_CHARS
the characters to escape.static String[]
ESCAPE_STRINGS
the escaped string representations of characters to backquote.static int
NO_ID
the unitialized ID.static String
PLACEHOLDER_DATABASEID
the placeholder for the database ID.static String
PLACEHOLDER_ID
the placeholder for the ID.static String
TIME_FORMAT
the format for times.static String
TIME_FORMAT_MSECS
the format for times (incl msecs).static String
TIMESTAMP_DEFAULT_MYSQL
the default value for MySQL timestamps (Jan 2nd to avoid timezone issues).static String
TIMESTAMP_FORMAT
the date format for timestamps.static String
TIMESTAMP_FORMAT_ISO8601
the date format for timestamps (ISO-8601).static String
TIMESTAMP_FORMAT_MSECS
the date format for timestamps (incl msecs).
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
NO_ID
public static final int NO_ID
the unitialized ID.- See Also:
- Constant Field Values
-
DUMMY_ID
public static final String DUMMY_ID
the dummy ID.- See Also:
- Constant Field Values
-
PLACEHOLDER_ID
public static final String PLACEHOLDER_ID
the placeholder for the ID.- See Also:
- Constant Field Values
-
PLACEHOLDER_DATABASEID
public static final String PLACEHOLDER_DATABASEID
the placeholder for the database ID.- See Also:
- Constant Field Values
-
TIMESTAMP_FORMAT
public static final String TIMESTAMP_FORMAT
the date format for timestamps.- See Also:
- Constant Field Values
-
TIMESTAMP_FORMAT_MSECS
public static final String TIMESTAMP_FORMAT_MSECS
the date format for timestamps (incl msecs).- See Also:
- Constant Field Values
-
TIMESTAMP_FORMAT_ISO8601
public static final String TIMESTAMP_FORMAT_ISO8601
the date format for timestamps (ISO-8601).- See Also:
- Constant Field Values
-
TIMESTAMP_DEFAULT_MYSQL
public static final String TIMESTAMP_DEFAULT_MYSQL
the default value for MySQL timestamps (Jan 2nd to avoid timezone issues).- See Also:
- Constant Field Values
-
TIME_FORMAT
public static final String TIME_FORMAT
the format for times.- See Also:
- Constant Field Values
-
TIME_FORMAT_MSECS
public static final String TIME_FORMAT_MSECS
the format for times (incl msecs).- See Also:
- Constant Field Values
-
DATE_FORMAT
public static final String DATE_FORMAT
the format for dates.- See Also:
- Constant Field Values
-
BACKQUOTE_CHARS
public static final char[] BACKQUOTE_CHARS
the characters to backquote.
-
BACKQUOTED_STRINGS
public static final String[] BACKQUOTED_STRINGS
the backquoted string representations of characters to backquote.
-
ESCAPE_CHARS
public static final char[] ESCAPE_CHARS
the characters to escape.
-
ESCAPE_STRINGS
public static final String[] ESCAPE_STRINGS
the escaped string representations of characters to backquote.
-
-