طريقة add_date_filter

add_date_filter(self, field_index, date_time_grouping_type, year, month, day, hour, minute, second)

إضافة مرشح التاريخ.


def add_date_filter(self, field_index, date_time_grouping_type, year, month, day, hour, minute, second):
    ...
معامليكتبوصف
field_indexintالإزاحة الصحيحة للحقل الذي تريد أن تستند إليه المرشح
(من يسار القائمة؛ الحقل الأيسر هو الحقل 0).
date_time_grouping_typeDateTimeGroupingTypeنوع التجميع
yearintالسنة.
monthintالشهر.
dayintاليوم.
hourintالساعة.
minuteintالدقيقة.
secondintالثانيه

ملاحظات

إذا كان DateTimeGroupingType هو Year، فسيتم فقط التأثير على معلمة year. إذا كان DateTiemGroupingType هو Month، فسيتم تطبيق تأثير السنة والشهر فقط.

أنظر أيضا