Package PamguardMVC
Class PamConstants
java.lang.Object
PamguardMVC.PamConstants
Some constants to be used throughout PAMGuard
- Author:
- Doug Gillepsie
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The radius of the earth in meters.static final int
The maximum number of allowed channelsstatic final long
The maximum date PAMGuard supports.static final int
The maximum item character length allowed in the databasestatic final double
The number of meters in a mile. -
Constructor Summary
-
Method Summary
-
Field Details
-
MAX_CHANNELS
public static final int MAX_CHANNELSThe maximum number of allowed channels- See Also:
-
METERS_PER_MILE
public static final double METERS_PER_MILEThe number of meters in a mile.- See Also:
-
MAX_ITEM_NAME_LENGTH
public static final int MAX_ITEM_NAME_LENGTHThe maximum item character length allowed in the database- See Also:
-
EARTH_RADIUS_METERS
public static final int EARTH_RADIUS_METERSThe radius of the earth in meters.- See Also:
-
MAX_DATE_TIME
public static final long MAX_DATE_TIMEThe maximum date PAMGuard supports. This prevents multi millenia dates in the future being used if numbers in database or binary files have been corrupted.- See Also:
-
-
Constructor Details
-
PamConstants
public PamConstants()
-