getTaiYuan method

String getTaiYuan()

Implementation

String getTaiYuan() {
  int ganIndex = _lunar.getMonthGanIndexExact() + 1;
  if (ganIndex >= 10) {
    ganIndex -= 10;
  }
  int zhiIndex = _lunar.getMonthZhiIndexExact() + 3;
  if (zhiIndex >= 12) {
    zhiIndex -= 12;
  }
  return LunarUtil.GAN[ganIndex + 1] + LunarUtil.ZHI[zhiIndex + 1];
}