| | 46 | In 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 | |
| | 67 | Due 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]. |