doWork

open suspend override fun doWork(): ListenableWorker.Result

This method always sets the start and end date of the month to be the first and last day of the current month. If you are using this worker to generate monthly reports it enqueue a new worker at least every 24 hours.