BusinessCalendarServiceGetDateDiffAsync - метод
Интерфейс API бизнес календаря.
Пространство имён: Tessa.BusinessCalendarСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task<long> GetDateDiffAsync(
DateTime dateTimeStart,
DateTime dateTimeEnd,
TimeSpan? zoneOffset = null,
CancellationToken cancellationToken = default
)
Public Function GetDateDiffAsync (
dateTimeStart As DateTime,
dateTimeEnd As DateTime,
Optional zoneOffset As TimeSpan? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Long)
public:
virtual Task<long long>^ GetDateDiffAsync(
DateTime dateTimeStart,
DateTime dateTimeEnd,
Nullable<TimeSpan> zoneOffset = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetDateDiffAsync :
dateTimeStart : DateTime *
dateTimeEnd : DateTime *
?zoneOffset : Nullable<TimeSpan> *
?cancellationToken : CancellationToken
(* Defaults:
let _zoneOffset = defaultArg zoneOffset null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int64>
override GetDateDiffAsync :
dateTimeStart : DateTime *
dateTimeEnd : DateTime *
?zoneOffset : Nullable<TimeSpan> *
?cancellationToken : CancellationToken
(* Defaults:
let _zoneOffset = defaultArg zoneOffset null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int64>
- dateTimeStart DateTime
-
- dateTimeEnd DateTime
-
- zoneOffset NullableTimeSpan (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskInt64IBusinessCalendarServiceGetDateDiffAsync(DateTime, DateTime, NullableTimeSpan, CancellationToken)