getGanZhi method
Implementation
String getGanZhi() {
// 干支与出生日期和起运日期都没关系
int offset = LunarUtil.getJiaZiIndex(
_lunar!.getJieQiTable()['立春']!.getLunar().getYearInGanZhiExact()) +
_index;
if (_daYun!.getIndex() > 0) {
offset += _daYun!.getStartAge() - 1;
}
offset %= LunarUtil.JIA_ZI.length;
return LunarUtil.JIA_ZI[offset];
}