public class Statistics extends AbstractSql
| Modifier and Type | Class and Description |
|---|---|
static class |
Statistics.Duty |
AbstractSql.Columns, AbstractSql.ExtractPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
static String |
DEFPASSWORD
The key to the password for db-acces if not default.
|
static String |
DEFUSERNAME
The key to the user name for db-acces if not default.
|
KEY_TABLE, SQLBATCHDIR, SQLFAILDIRKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
double |
getEnvCount(Date night,
String addsel)
Get the roof-open time at that night.
|
double |
getExposureTimeSum(Date night)
Get the sum of all exposure times at a given night in seconds.
|
private double |
getExpSum(Date night,
String addsel) |
double |
getNightCount(Date night,
double solz)
Get the maximum time for sun below horizon at that night.
|
double |
getRoofOpenCount(Date night)
Get the roof-open time at that night.
|
double |
getScienceTimeSum(Date night)
Get the sum of all scientific times at a given night in seconds.
|
delete, distinct, distinct, exit, getAccess, getDefaultArchive, getDefaultFormat, getTable, init, insert, isEntry, release, release, replace, retrieve, retrieve, retrieve, single, singleclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String DEFUSERNAME
public static final String DEFPASSWORD
public double getExposureTimeSum(Date night)
night - midnight of the day in question.public double getScienceTimeSum(Date night)
public double getNightCount(Date night, double solz)
public double getRoofOpenCount(Date night)
public double getEnvCount(Date night, String addsel)