MenoData / Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
424 stars 62 forks source link

Feature Request: Add the ability to calculate shadow length of object at noon #946

Closed yogur closed 3 years ago

yogur commented 3 years ago

Is it possible to add a method to the class SolarTime to calculate shadow length of an object at noon. The method would take object height as input and it would return shadow length (at solar noon).

Thanks for the amazing library!

yogur commented 3 years ago

I was rechecking the Time4J docs and noticed the method getShadowLength in the class SunPosition which does exactly what I want to achieve.

I will close the issue.