Changes between Version 18 and Version 19 of PetascopeTimeHandling


Ignore:
Timestamp:
May 19, 2014, 9:20:19 AM (11 years ago)
Author:
Piero Campalani
Comment:

add uoms

Legend:

Unmodified
Added
Removed
Modified
  • PetascopeTimeHandling

    v18 v19  
    4444   * simulation-time : [http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0/AnsiDate?axis-label=%22simulation_time%22 http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0/AnsiDate?axis-label="simulation_time"]
    4545
     46In case you want to exploits the parametrizations of 'OGC:Temporal' CRS or you want to create a new one, you can adopt the following UCUM-compliant time units:
     47
     48{{{
     49    // Standard codes for supported temporal Unit of Measures (which provide ISO8601 interface to the user)
     50    // http://unitsofmeasure.org/ucum.html
     51    public static final String UCUM_MILLIS               = "ms";
     52    public static final String UCUM_SECOND               = "s";
     53    public static final String UCUM_MINUTE               = "min";
     54    public static final String UCUM_HOUR                 = "h";
     55    public static final String UCUM_DAY                  = "d";
     56    public static final String UCUM_WEEK                 = "wk";
     57    public static final String UCUM_MEAN_JULIAN_MONTH    = "mo_j";
     58    public static final String UCUM_MEAN_GREGORIAN_MONTH = "mo_g";
     59    public static final String UCUM_SYNODAL_MONTH        = "mo_s";
     60    public static final String UCUM_MONTH                = "mo";
     61    public static final String UCUM_MEAN_JULIAN_YEAR     = "a_j";
     62    public static final String UCUM_MEAN_GREGORIAN_YEAR  = "a_g";
     63    public static final String UCUM_TROPICAL_YEAR        = "a_t";
     64    public static final String UCUM_YEAR                 = "a";
     65}}}
     66
     67Due to the characteristics of the [http://www.joda.org/joda-time/apidocs/org/joda/time/Duration.html ''Duration''] Joda-time class, the highest time resolution achievable now is ''milliseconds'' ![ms].
    4668For further info on CRS parametrization and composition, see the SECORE [SecoreUserGuide user guide] and also [wiki:IndexCrss#Changingaxislabels this] section.
    4769