All Implemented Interfaces:
Almanac, Culture

public class ThreeClimate extends Samsara
三候
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • NAMES

      public static final String[] NAMES
  • Constructor Details

    • ThreeClimate

      public ThreeClimate(String name)
    • ThreeClimate

      public ThreeClimate(int index)
  • Method Details

    • fromName

      public static ThreeClimate fromName(String name)
      从名称初始化
      Parameters:
      name - 名称
      Returns:
      三候
    • fromIndex

      public static ThreeClimate fromIndex(int index)
      从索引初始化
      Parameters:
      index - 索引
      Returns:
      三候
    • next

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