## 观音斋 观音斋:(正月)初八,(二月)初七、初九、十九,(三月)初三、初六、十三,(四月)廿二,(五月)初三、十七,(六月)十六、十八、十九、廿三,(七月)十三,(八月)十六,(九月)十九、廿三,(十月)初二,(十一月)十九、廿四,(十二月)廿五。 1. .isDayZhaiGuanYin() > 当日是否观音斋,返回true/false ### 示例代码
javascript
java
csharp
php
python
go
var d = Foto.fromLunar(Lunar.fromDate(new Date())); console.log(d.isDayZhaiGuanYin());
Foto d = Foto.fromLunar(Lunar.fromDate(new Date())); System.out.println(d.isDayZhaiGuanYin());
Foto d = Foto.fromLunar(Lunar.fromDate(new Date())); Console.WriteLine(d.isDayZhaiGuanYin());
$d = Foto::fromLunar(Lunar::fromDate(new DateTime())); echo $d->isDayZhaiGuanYin()."\n";
d = Foto.fromLunar(Lunar.fromDate(datetime.now())) print d.isDayZhaiGuanYin()
d := calendar.NewFotoFromLunar(calendar.NewLunarFromDate(time.Now())) fmt.Println(d.IsDayZhaiGuanYin())
### 输出