For example, the function
BusinessCalendar.isInBusinessHours(Calendar.getInstance().getTime())
Thank you very much for you answers! :))I allready solved this task.I hope that it will documented in a short time.