BusinessCalendarServiceGetDateDiffAsync - метод |
Интерфейс API бизнес календаря.
Пространство имён:
Tessa.BusinessCalendar
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: SystemDateTime
- dateTimeEnd
- Тип: SystemDateTime
- zoneOffset (Optional)
- Тип: SystemNullableTimeSpan
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt64Реализации
IBusinessCalendarServiceGetDateDiffAsync(DateTime, DateTime, NullableTimeSpan, CancellationToken)См. также