C#日出/日落纬度/经度 [英] C# Sunrise/Sunset with latitude/longitude
本文介绍了C#日出/日落纬度/经度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有在C#中的方法来计算给定的经度和纬度,当太阳将设置和上升的某一天?
Is there a way in C# to calculate given a latitude and longitude when the sun will set and rise for a given day?
推荐答案
的Javascript计算的这里线。现在你只需要移植。
Javascript calculations here. Now you just need to port.
编辑:计算在此页一>了。
编辑:这里是直接链接到源code。没有必要去通过HTML打猎。
here is a direct link to the source code. No need to go hunting through the html.
这篇关于C#日出/日落纬度/经度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文