Lines Matching refs:mdf
148 fn from_mdf(year: i32, mdf: Mdf) -> Option<NaiveDate> { in from_mdf()
149 NaiveDate::from_of(year, mdf.to_of()) in from_mdf()
765 fn mdf(&self) -> Mdf { in mdf() method
779 fn with_mdf(&self, mdf: Mdf) -> Option<NaiveDate> { in with_mdf()
780 self.with_of(mdf.to_of()) in with_mdf()
1132 self.mdf().month() in month()
1149 self.mdf().month() - 1 in month0()
1189 self.mdf().day() in day()
1206 self.mdf().day() - 1 in day0()
1310 let mdf = self.mdf(); in with_year() localVariable
1314 let mdf = mdf.with_flags(flags); in with_year() localVariable
1316 NaiveDate::from_mdf(year, mdf) in with_year()
1335 self.with_mdf(self.mdf().with_month(month)) in with_month()
1354 self.with_mdf(self.mdf().with_month(month0 + 1)) in with_month0()
1373 self.with_mdf(self.mdf().with_day(day)) in with_day()
1392 self.with_mdf(self.mdf().with_day(day0 + 1)) in with_day0()
1642 let mdf = self.mdf(); in fmt() localVariable
1644 write!(f, "{:04}-{:02}-{:02}", year, mdf.month(), mdf.day()) in fmt()
1647 write!(f, "{:+05}-{:02}-{:02}", year, mdf.month(), mdf.day()) in fmt()