https://blog.csdn.net/jacke121/article/details/88365888
这个对象不能这么调用
一般这种情况都是把成员变量和成员函数搞混了, 试试yesterday.month(), yesterday.day()