All Implemented Interfaces:
Almanac, Culture

public class SixtyCycle extends Samsara
六十甲子(六十干支周)
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • NAMES

      public static final String[] NAMES
  • Constructor Details

    • SixtyCycle

      public SixtyCycle(int index)
    • SixtyCycle

      public SixtyCycle(String name)
  • Method Details

    • fromIndex

      public static SixtyCycle fromIndex(int index)
    • fromName

      public static SixtyCycle fromName(String name)
    • getHeavenStem

      public HeavenStem getHeavenStem()
      天干
      Returns:
      天干
    • getEarthBranch

      public EarthBranch getEarthBranch()
      地支
      Returns:
      地支
    • getSound

      public Sound getSound()
      纳音
      Returns:
      纳音
    • getPengZu

      public PengZu getPengZu()
      彭祖百忌
      Returns:
      彭祖百忌
    • getTen

      public Ten getTen()
      Returns:
    • getExtraEarthBranches

      public EarthBranch[] getExtraEarthBranches()
      旬空(空亡),因地支比天干多2个,旬空则为每一轮干支一一配对后多出来的2个地支
      Returns:
      旬空(空亡)
    • next

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