/vim-pom

Phase of Moon

Primary LanguageVim script

vim-pom

Phase of Moon calculation.

Provides minimal functions to access the phase of the moon as a string or unicode.

Functions

  • pom#calculate(y, m, d): Return the phase as a number from 0 to 7
  • pom#phaseFor(y, m, d): Return a string for the phase
  • pom#uphaseFor(y, m, d): Return a string for the phase, as a unicode character
  • pom#phase(y, m, d): Return a string for the current phase
  • pom#uphase(y, m, d): Return a string for the current phase, as a unicode character