uw.local.util package¶
Submodules¶
uw.local.util.format module¶
uw.local.util.identity module¶
uw.local.util.mail module¶
Convenient UW-specific mail-related items.
uw.local.util.uw_business_day module¶
Defines some helper function using the uw_business_days table.
-
uw.local.util.uw_business_day.
non_business_days_in_span
(cursor, startdate=None, months=4, holidays_only=False)[source]¶ Returns a list of non-work days between the start & # months (inclusive) :param cursor: a database cursor :param startdate: a datetime date :param enddate: a datetime date :param holidays_only: boolean, only include special holidays?
(i.e. not weekends)