Remove useless arguments.
Don't both passing a script progress object into _next_thursday(). Just pass a date function or nothing.
Simplify term detection.
Removed nonsensical case that doesn't affect the result anyway.
Inline useless local.
Delete unused method.
Simplify method and remove its ability to accept arguments in either order.