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_CHARSthe characters to backquote.static String[]BACKQUOTED_STRINGSthe backquoted string representations of characters to backquote.static StringDATE_FORMATthe format for dates.static StringDUMMY_IDthe dummy ID.static char[]ESCAPE_CHARSthe characters to escape.static String[]ESCAPE_STRINGSthe escaped string representations of characters to backquote.static intNO_IDthe unitialized ID.static StringPLACEHOLDER_DATABASEIDthe placeholder for the database ID.static StringPLACEHOLDER_IDthe placeholder for the ID.static StringTIME_FORMATthe format for times.static StringTIME_FORMAT_MSECSthe format for times (incl msecs).static StringTIMESTAMP_DEFAULT_MSSQLthe default value for MSSQL timestamps (Jan 2nd to avoid timezone issues).static StringTIMESTAMP_DEFAULT_MYSQLthe default value for MySQL timestamps (Jan 2nd to avoid timezone issues).static StringTIMESTAMP_DEFAULT_POSTGRESQLthe default value for PostgreSQL timestamps (Jan 2nd to avoid timezone issues).static StringTIMESTAMP_FORMATthe date format for timestamps.static StringTIMESTAMP_FORMAT_ISO8601the date format for timestamps (ISO-8601).static StringTIMESTAMP_FORMAT_MSECSthe 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
-
TIMESTAMP_DEFAULT_POSTGRESQL
public static final String TIMESTAMP_DEFAULT_POSTGRESQL
the default value for PostgreSQL timestamps (Jan 2nd to avoid timezone issues).- See Also:
- Constant Field Values
-
TIMESTAMP_DEFAULT_MSSQL
public static final String TIMESTAMP_DEFAULT_MSSQL
the default value for MSSQL 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.
-
-