This PR fixes a bug in HourAngle.fromDoubleHours. It also adds a toDoubleHours method. I could easily be convinced to place that in the test method itself though. I don't have a good enough feel for optics to know whether there should be a doubleHours optic but I didn't try to add one since I didn't see any others for approximate conversions like that one.
This PR fixes a bug in
HourAngle.fromDoubleHours
. It also adds atoDoubleHours
method. I could easily be convinced to place that in the test method itself though. I don't have a good enough feel for optics to know whether there should be adoubleHours
optic but I didn't try to add one since I didn't see any others for approximate conversions like that one.