This class can be used to determine the Moon phase on a given date. It takes a given day, month and year and determines the phase of the Moon for that day. It can also compute the distance of the Moon to the Earth. The class can also generate HTML to display a picture that represents the computed Moon phase.