moonphase

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2019 License: MIT Imports: 2 Imported by: 1

README

moonphase

Original source: https://github.com/janczer/goMoonPhase

Copyright (c) 2013-2016 Ivan Menshykov

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Moon

type Moon struct {
	// contains filtered or unexported fields
}

func New

func New(t time.Time) (moonP *Moon)

func (*Moon) Age

func (m *Moon) Age() float64

func (*Moon) Diameter

func (m *Moon) Diameter() float64

func (*Moon) Distance

func (m *Moon) Distance() float64

func (*Moon) FirstQuarter

func (m *Moon) FirstQuarter() float64

func (*Moon) FullMoon

func (m *Moon) FullMoon() float64

func (*Moon) Illumination

func (m *Moon) Illumination() float64

func (*Moon) LastQuarter

func (m *Moon) LastQuarter() float64

func (*Moon) NewMoon

func (m *Moon) NewMoon() float64

func (*Moon) NextFirstQuarter

func (m *Moon) NextFirstQuarter() float64

func (*Moon) NextFullMoon

func (m *Moon) NextFullMoon() float64

func (*Moon) NextLastQuarter

func (m *Moon) NextLastQuarter() float64

func (*Moon) NextNewMoon

func (m *Moon) NextNewMoon() float64

func (*Moon) Phase

func (m *Moon) Phase() float64

func (*Moon) PhaseName

func (m *Moon) PhaseName() string

PhaseName returns the name of the moon phase corresponding to the time set in m.

func (*Moon) PhaseSymbol

func (m *Moon) PhaseSymbol() string

PhaseSymbol returns the Unicode moon symbol corresponding to the time set in m.

func (*Moon) SunDiameter

func (m *Moon) SunDiameter() float64

func (*Moon) SunDistance

func (m *Moon) SunDistance() float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL