Skip to content

Commit 2c7b514

Browse files
committed
javadoc fixes
1 parent fd09ef4 commit 2c7b514

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

time4j-android/src/main/java/net/time4j/calendar/astro/SolarTime.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
*
5656
* <pre>
5757
* PlainDate date = PlainDate.of(2017, 12, 22);
58-
* TZID tzid = () -> &quot;Africa/Dar_es_Salaam&quot;; // Tanzania: UTC+03:00
58+
* TZID tzid = Timezone.of(&quot;Africa/Dar_es_Salaam&quot;).getID(); // Tanzania: UTC+03:00
5959
*
60-
* // high altitude => earlier sunrise and later sunset
60+
* // high altitude implies earlier sunrise and later sunset
6161
* SolarTime kibo5895 =
6262
* SolarTime.ofLocation().southernLatitude(3, 4, 0).easternLongitude(37, 21, 33).atAltitude(5895).build();
6363
*
@@ -91,9 +91,9 @@
9191
*
9292
* <pre>
9393
* PlainDate date = PlainDate.of(2017, 12, 22);
94-
* TZID tzid = () -> &quot;Africa/Dar_es_Salaam&quot;; // Tanzania: UTC+03:00
94+
* TZID tzid = Timezone.of(&quot;Africa/Dar_es_Salaam&quot;).getID(); // Tanzania: UTC+03:00
9595
*
96-
* // gro&szlig;e H&ouml;he => fr&uuml;herer Sonnenaufgang und sp&auml;terer Sonnenuntergang
96+
* // gro&szlig;e H&ouml;he verursacht fr&uuml;heren Sonnenaufgang und sp&auml;teren Sonnenuntergang
9797
* SolarTime kibo5895 =
9898
* SolarTime.ofLocation().southernLatitude(3, 4, 0).easternLongitude(37, 21, 33).atAltitude(5895).build();
9999
*
@@ -1575,15 +1575,13 @@ private static void check(
15751575
*
15761576
* @see java.util.ServiceLoader
15771577
* @since 3.34/4.29
1578-
* @doctags.spec All implementations must have a public no-arg constructor.
15791578
*/
15801579
/*[deutsch]
15811580
* <p>Ein SPI-Interface, das eine Fassade f&uuml;r die Berechnung von Sonnenaufgang oder Sonnenuntergang
15821581
* darstellt. </p>
15831582
*
15841583
* @see java.util.ServiceLoader
15851584
* @since 3.34/4.29
1586-
* @doctags.spec All implementations must have a public no-arg constructor.
15871585
*/
15881586
public interface Calculator {
15891587

time4j-android/src/main/java/net/time4j/calendar/astro/StdSolarCalculator.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ private double adjustRange(double value) { // range [0.0, 360.0)
309309
/**
310310
* Follows closely the algorithms published by NOAA (National Oceanic and Atmospheric Administration).
311311
*
312-
* <h4>Introduction</h4>
312+
* <p><strong>Introduction</strong></p>
313313
*
314314
* <p>The <a href="https://www.esrl.noaa.gov/gmd/grad/solcalc/">website</a> of NOAA also links
315315
* to the calculation details. This is a calculator with reasonably good precision. But the altitude
@@ -320,7 +320,7 @@ private double adjustRange(double value) { // range [0.0, 360.0)
320320
* that local topology or the actual weather conditions are not taken into account. Therefore
321321
* truncating the results to minute precision should be considered. </p>
322322
*
323-
* <h4>Example</h4>
323+
* <p><strong>Example</strong></p>
324324
*
325325
* <pre>
326326
* PlainDate date = PlainDate.of(2009, 9, 6);
@@ -338,7 +338,7 @@ private double adjustRange(double value) { // range [0.0, 360.0)
338338
* Folgt nahe den Algorithmen, die von der NOAA (National Oceanic and Atmospheric Administration)
339339
* ver&ouml;ffentlicht wurden.
340340
*
341-
* <h4>Einleitung</h4>
341+
* <p><strong>Einleitung</strong></p>
342342
*
343343
* <p>Die <a href="https://www.esrl.noaa.gov/gmd/grad/solcalc/">Webseite</a> der NOAA verlinkt
344344
* auch zu den Berechnungsdetails. Dieses Verfahren bietet eine recht gute Genauigkeit. Die H&ouml;he
@@ -350,7 +350,7 @@ private double adjustRange(double value) { // range [0.0, 360.0)
350350
* ber&uuml;cksichtigt werden. Deshalb ist das Abschneiden der Sekundenteile in den Ergebnissen
351351
* meistens angeraten. </p>
352352
*
353-
* <h4>Beispiel</h4>
353+
* <p><strong>Beispiel</strong></p>
354354
*
355355
* <pre>
356356
* PlainDate date = PlainDate.of(2009, 9, 6);
@@ -678,7 +678,7 @@ private double solarLongitude(double jct) {
678678
* Based mainly on the astronomical calculations published by Jean Meeus in his book
679679
* &quot;Astronomical Algorithms&quot; (second edition).
680680
*
681-
* <h4>Introduction</h4>
681+
* <p><strong>Introduction</strong></p>
682682
*
683683
* <p>This calculation is the <strong>default</strong> method because it offers high precision
684684
* with the general limitation that the local topology or special weather conditions cannot be
@@ -687,7 +687,7 @@ private double solarLongitude(double jct) {
687687
* <p>The altitude of the observer is taken into account using a spheroid (WGS84)
688688
* and the assumption of a standard atmosphere (for the refraction). </p>
689689
*
690-
* <h4>Supported features</h4>
690+
* <p><strong>Supported features</strong></p>
691691
*
692692
* <ul>
693693
* <li>declination</li>
@@ -698,7 +698,7 @@ private double solarLongitude(double jct) {
698698
* Basiert meist auf den astronomischen Berechnungen von Jean Meeus, die er im Buch
699699
* &quot;Astronomical Algorithms&quot; (zweite Auflage) ver&ouml;ffentlicht hat.
700700
*
701-
* <h4>Einleitung</h4>
701+
* <p><strong>Einleitung</strong></p>
702702
*
703703
* <p>Dieses Verfahren ist der <strong>Standard</strong>, weil es hohe Genauigkeit bietet, aber mit der
704704
* allgemeinen Einschr&auml;nkung, da&szlig; die lokale Topologie oder besondere Wetterbedingungen
@@ -708,7 +708,7 @@ private double solarLongitude(double jct) {
708708
* als geod&auml;tischen Modell und der Annahme einer Standardatmosph&auml;re (f&uuml;r
709709
* die Refraktion) ber&uuml;cksichtigt. </p>
710710
*
711-
* <h4>Unterst&uuml;tzte Merkmale</h4>
711+
* <p><strong>Unterst&uuml;tzte Merkmale</strong></p>
712712
*
713713
* <ul>
714714
* <li>declination</li>

0 commit comments

Comments
 (0)