isDayTianShe method
Implementation
bool isDayTianShe() {
bool ret = false;
String mz = _lunar!.getMonthZhi();
String dgz = _lunar!.getDayInGanZhi();
if ('寅卯辰'.contains(mz)) {
if ('戊寅' == dgz) {
ret = true;
}
} else if ('巳午未'.contains(mz)) {
if ('甲午' == dgz) {
ret = true;
}
} else if ('申酉戌'.contains(mz)) {
if ('戊申' == dgz) {
ret = true;
}
} else if ('亥子丑'.contains(mz)) {
if ('甲子' == dgz) {
ret = true;
}
}
return ret;
}