Professional Documents
Culture Documents
* BusinessDays Class
* esta clase solo opera sobre el horario laboral configurado en SFDC para ARGOS
* @author - Nicolás Montejo
* */
public BusinessDays()
{
//Get the default business hours
Id bHours = [SELECT Id FROM BusinessHours WHERE IsDefault = true].Id;
//Get the next date when business hours are open. If the specified target
date falls within business hours, this target date is returned.
//Check target date occurs within business hours. Holidays are included in
the calculation.
//Get the difference between a start and end Datetime based on a specific
set of business hours in milliseconds.