How to query next occuring date of scheduled, repeated task?

Related: Why cannot I finish the weekly repeater ahead of time?