def d_day(self, time):
        ''' 指定日期

            :param datetime time: 欲判斷的日期
            :rtype: bool
            :returns: True 為開市、False 為休市
        '''
        if type(time) == type(TWTime().now):
            self.twtime = TWTime().now
        elif type(time) == type(TWTime().date):
            self.twtime = TWTime().date
        else:
            pass
        return self.caldata(time)