All Implemented Interfaces:
Almanac, Culture

public class TwentyEightStar extends Samsara
二十八宿
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • NAMES

      public static final String[] NAMES
  • Constructor Details

    • TwentyEightStar

      public TwentyEightStar(int index)
    • TwentyEightStar

      public TwentyEightStar(String name)
  • Method Details

    • fromIndex

      public static TwentyEightStar fromIndex(int index)
    • fromName

      public static TwentyEightStar fromName(String name)
    • next

      public TwentyEightStar next(int n)
      Description copied from interface: Culture
      推移
      Parameters:
      n - 推移步数
      Returns:
      this
    • getSevenStar

      public SevenStar getSevenStar()
      七曜
      Returns:
      七曜
    • getLand

      public Land getLand()
      九野
      Returns:
      九野
    • getZone

      public Zone getZone()
      Returns:
    • getAnimal

      public Animal getAnimal()
      动物
      Returns:
      动物
    • getLuck

      public Luck getLuck()
      吉凶
      Returns:
      吉凶