BusinessCalendarServiceAddWorkingQuantsToDateAsync - метод |
Интерфейс API бизнес календаря.
Пространство имён:
Tessa.BusinessCalendar
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<DateTime> AddWorkingQuantsToDateAsync(
DateTime dateTime,
long quants,
TimeSpan? zoneOffset = null,
CancellationToken cancellationToken = default
)
Public Function AddWorkingQuantsToDateAsync (
dateTime As DateTime,
quants As Long,
Optional zoneOffset As TimeSpan? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of DateTime)
public:
virtual Task<DateTime>^ AddWorkingQuantsToDateAsync(
DateTime dateTime,
long long quants,
Nullable<TimeSpan> zoneOffset = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract AddWorkingQuantsToDateAsync :
dateTime : DateTime *
quants : int64 *
?zoneOffset : Nullable<TimeSpan> *
?cancellationToken : CancellationToken
(* Defaults:
let _zoneOffset = defaultArg zoneOffset null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<DateTime>
override AddWorkingQuantsToDateAsync :
dateTime : DateTime *
quants : int64 *
?zoneOffset : Nullable<TimeSpan> *
?cancellationToken : CancellationToken
(* Defaults:
let _zoneOffset = defaultArg zoneOffset null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<DateTime>
Параметры
- dateTime
- Тип: SystemDateTime
- quants
- Тип: SystemInt64
- zoneOffset (Optional)
- Тип: SystemNullableTimeSpan
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskDateTimeРеализации
IBusinessCalendarServiceAddWorkingQuantsToDateAsync(DateTime, Int64, NullableTimeSpan, CancellationToken)См. также