C# Class Apex.System.BusinessHours

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_businesshours.htm#apex_classes_businesshours
Datei anzeigen Open project: jayonsoftware/apexsharp

Public Methods

Method Description
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

Method Details

BusinessHours() public method

public BusinessHours ( ) : ApexSharpApi.ApexApi
return ApexSharpApi.ApexApi

add() public static method

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
return Apex.System.DateTime

addGmt() public static method

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
return Apex.System.DateTime

clone() public method

public clone ( ) : object
return object

diff() public static method

public static diff ( string businessHoursId, Apex.System.DateTime startDate, Apex.System.DateTime endDate ) : long
businessHoursId string
startDate Apex.System.DateTime
endDate Apex.System.DateTime
return long

isWithin() public static method

public static isWithin ( string businessHoursId, Apex.System.DateTime targetDate ) : bool
businessHoursId string
targetDate Apex.System.DateTime
return bool

nextStartDate() public static method

public static nextStartDate ( Apex.System.ID businessHoursId, Apex.System.DateTime targetDate ) : Apex.System.DateTime
businessHoursId Apex.System.ID
targetDate Apex.System.DateTime
return Apex.System.DateTime