Skip to main content
[ This file is autogenerated from apexdoc ]

AqBusinessHours

Group apex/post copy tasks

Methods​

public static BusinessHours getDefaultBusinessHours()​

Get Id of org default business hours

public static Datetime addDefaultBusinessMilliseconds(Datetime fromDatetime, Integer milliseconds)​

Adds the specified number of milliseconds to fromDateTime, traversing only the default org business hours and adjusting the default business hours as if they apply to the current user's timezone.

public static Datetime addDefaultBusinessHours(Datetime fromDateTime, Integer hours)​

Adds the specified number of hours to fromDateTime, traversing only the default org business hours and adjusting the default business hours as if they apply to the current user's timezone.