Data Types

The following table shows the Java Data Types used in Gotransverse. For currency, see "decimal."

Data TypeDefinition
boolean Value of "true" or "false."
date Format:
  • yyyy-MM-dd'T'HH:mm:ss.SSSZ

  • yyyy-MM-dd HH:mm:ss

  • yyyy-MM-dd HH:mm

  • MM/dd/yyyy HH:mm:ss.SSSZ

  • MM/dd/yyyy HH:mm:ss

  • MM/dd/yyyy HH:mm

  • MM/dd/yyyy hh:mm:ss aa

  • MM/dd/yyyy hh:mm aa

  • MM/dd/YY HH:mm:ss.SSSZ

  • MM/dd/YY HH:mm:ss

  • MM/dd/YY HH:mm

  • MM/dd/YY hh:mm:ss aa

  • MM/dd/YY hh:mm aa

  • MM/dd/YY

  • MM-dd-yyyy HH:mm:ss.SSSZ

  • MM-dd-yyyy HH:mm:ss

  • MM-dd-yyyy HH:mm

  • MM-dd-yyyy hh:mm:ss aa

  • MM-dd-yyyy hh:mm aa

  • MM-dd-yy HH:mm:ss.SSSZ

  • MM-dd-yy HH:mm:ss

  • MM-dd-yy HH:mm

  • MM-dd-yy hh:mm:ss aa

  • MM-dd-yy hh:mm aa

  • MM-dd-yy

  • aa = AM / PM
  • SSSZ = time zone indicator / offset of GMT
  • To include the time zone where the usage occurred, append the time with an uppercase "T" and subtract the number of hours west of the International Date Line. 2011-04-18T03:17:22.234-06:00
  • Do not put a space after the T
  • Do not mix dashes and slashes. Use one or the other.
  • Remember Daylight Savings Time and whether it affects the event time.
decimal Precise fractional or integral type that can represent decimal numbers with 29 significant digits. Used in calculations. In Gotransverse, also used for currency.
enumeration Used to list a choice of elements to use in the entity.
int Used for standard integer needs. Used in calculations.
long Used for a wider range than int. Used in calculations.
string One or more alphanumeric characters that represent a single value. If numeric, it is not used for calculations. An example would be a phone number.