C# Класс Apex.System.BusinessHours

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_businesshours.htm#apex_classes_businesshours
Показать файл Открыть проект

Открытые методы

Метод Описание
BusinessHours ( ) : ApexSharpApi.ApexApi
add ( Apex.System.ID businessHoursId, Apex.System.DateTime startDate, long interval ) : Apex.System.DateTime
addGmt ( Apex.System.ID businessHoursId, Apex.System.DateTime startDate, long interval ) : Apex.System.DateTime
clone ( ) : object
diff ( string businessHoursId, Apex.System.DateTime startDate, Apex.System.DateTime endDate ) : long
isWithin ( string businessHoursId, Apex.System.DateTime targetDate ) : bool
nextStartDate ( Apex.System.ID businessHoursId, Apex.System.DateTime targetDate ) : Apex.System.DateTime

Описание методов

BusinessHours() публичный Метод

public BusinessHours ( ) : ApexSharpApi.ApexApi
Результат ApexSharpApi.ApexApi

add() публичный статический Метод

public static add ( Apex.System.ID businessHoursId, Apex.System.DateTime startDate, long interval ) : Apex.System.DateTime
businessHoursId Apex.System.ID
startDate Apex.System.DateTime
interval long
Результат Apex.System.DateTime

addGmt() публичный статический Метод

public static addGmt ( Apex.System.ID businessHoursId, Apex.System.DateTime startDate, long interval ) : Apex.System.DateTime
businessHoursId Apex.System.ID
startDate Apex.System.DateTime
interval long
Результат Apex.System.DateTime

clone() публичный Метод

public clone ( ) : object
Результат object

diff() публичный статический Метод

public static diff ( string businessHoursId, Apex.System.DateTime startDate, Apex.System.DateTime endDate ) : long
businessHoursId string
startDate Apex.System.DateTime
endDate Apex.System.DateTime
Результат long

isWithin() публичный статический Метод

public static isWithin ( string businessHoursId, Apex.System.DateTime targetDate ) : bool
businessHoursId string
targetDate Apex.System.DateTime
Результат bool

nextStartDate() публичный статический Метод

public static nextStartDate ( Apex.System.ID businessHoursId, Apex.System.DateTime targetDate ) : Apex.System.DateTime
businessHoursId Apex.System.ID
targetDate Apex.System.DateTime
Результат Apex.System.DateTime