Moon day, moon rise and moon shallow calculation