## 月斋 农历每年正月、五月、九月为月斋。 1. .isMonthZhai() > 当月是否月斋,返回true/false ### 示例代码
javascript
java
csharp
php
python
go
var d = Foto.fromLunar(Lunar.fromDate(new Date())); console.log(d.isMonthZhai());
Foto d = Foto.fromLunar(Lunar.fromDate(new Date())); System.out.println(d.isMonthZhai());
Foto d = Foto.fromLunar(Lunar.fromDate(new Date())); Console.WriteLine(d.isMonthZhai());
$d = Foto::fromLunar(Lunar::fromDate(new DateTime())); echo $d->isMonthZhai()."\n";
d = Foto.fromLunar(Lunar.fromDate(datetime.now())) print d.isMonthZhai()
d := calendar.NewFotoFromLunar(calendar.NewLunarFromDate(time.Now())) fmt.Println(d.IsMonthZhai())
### 输出