args.put("hourToTriggerOn", "0");
MonthlyScheduleHelper monthlyTriggerCalculator = new MonthlyScheduleHelper();
monthlyTriggerCalculator.init(args);
SchedulerContext schedulerContext = new SchedulerContext();
monthlyTriggerCalculator.invoke(schedulerContext, someDateTimeStamp);
long nextMonthFirstTimeStampDuration = schedulerContext.getNextTriggerInterval();
long durationStart = schedulerContext.getCurrentDurationStart();
long durationEnd = schedulerContext.getCurrentDurationEnd();