Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Orekit
Commits
dedd2321
Commit
dedd2321
authored
Apr 15, 2022
by
Luc Maisonobe
Committed by
Bryan Cazabonne
Apr 26, 2022
Browse files
Javadoc.
parent
70f4b5ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/orekit/utils/units/Unit.java
View file @
dedd2321
...
...
@@ -414,18 +414,20 @@ public class Unit implements Serializable {
* <dl>
* <dt>year</dt>
* <dd>the accepted non-SI unit for Julian year is "a" but we also accept "yr"</dd>
* <dt>day</dt>
* <dd>the accepted non-SI unit for day is "d" but we also accept "day"</dd>
* <dt>dimensionless</dt>
* <dd>both "1" and "#" (U+0023, NUMBER SIGN) are accepted</dd>
* <dt>mass</dt>
* <dd>"g" is the standard symbol, despite the unit is "kg" (its the only
* <dd>"g" is the standard symbol, despite the unit is "kg" (it
i
s the only
* unit that has a prefix in its name, so all multiples must be based on "g")</dd>
* <dt>degrees</dt>
* <dd>the base symbol for degrees is "°" (U+00B0, DEGREE SIGN), but we also accept
* "◦" (U+25E6, WHITE BULLET) and "deg"</dd>
* <dt>arcminute</dt>
* <dd>The base symbol for is "′" (U+2032, PRIME) but we also accept "'" (U+0027, APOSTROPHE)</dd>
* <dd>The base symbol for
arcminute
is "′" (U+2032, PRIME) but we also accept "'" (U+0027, APOSTROPHE)</dd>
* <dt>arcsecond</dt>
* <dd>The base symbol for is "″" (U+2033, DOUBLE PRIME) but we also accept
* <dd>The base symbol for
arcsecond
is "″" (U+2033, DOUBLE PRIME) but we also accept
* "''" (two occurrences of U+0027, APOSTROPHE), "\"" (U+0022, QUOTATION MARK) and "as"</dd>
* </dl>
* <p>
...
...
@@ -466,7 +468,7 @@ public class Unit implements Serializable {
* as in "Pa^(11/12)"</li>
* </ul>
* For integer exponents, the digits must be ASCII digits from the Basic Latin block from
* unicode if explicit exponent maker "**" or "^"
wa
s used, or using unicode superscript
* unicode if explicit exponent ma
r
ker "**" or "^"
i
s used, or using unicode superscript
* digits if implicit exponentiation (i.e. no markers at all) is used. Unicode superscripts
* are not allowed for fractional exponents because unicode does not provide a superscript solidus.
* Negative exponents can be used too.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment