开发者

Shabat times algorithm?

开发者 https://www.devze.com 2023-04-12 04:17 出处:网络
Does someone knows of an open source algorithm for calculating the times of Shabat candle light by a GPS location?

Does someone knows of an open source algorithm for calculating the times of Shabat candle light by a GPS location?

I've found this site: hebcal that have a rest api but it doesn't s开发者_运维问答upport a gps. they directed me here but its not very understandable.

any help will be appreciated.

Thanks.


The times to light and extinguish Shabbat candles are based on local sunset. So what you really need is a way to compute the sunset time for any location on a particular date.

As I understand it, candles are lighted 18 minutes before local sunset. So once you compute the sunset time, just subtract 18 minutes and you're there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号