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