mirror of
https://github.com/TanStack/time.git
synced 2026-11-16 19:09:47 +00:00
1.2 KiB
1.2 KiB
| id | title |
|---|---|
| DurationApi | DurationApi |
Interface: DurationApi<TResource, TEvent>
Defined in: calendar/features/duration.ts:9
Type Parameters
TResource
TResource extends Resource
TEvent
TEvent extends Event<TResource>
Properties
checkEventDuration()
checkEventDuration: (event, newStart?, newEnd?, newResources?) => DurationConflict[];
Defined in: calendar/features/duration.ts:11
Parameters
event
TEvent
newStart?
string
newEnd?
string
newResources?
(string | TResource)[]
Returns
DurationConflict[]
getWorkingDuration()
getWorkingDuration: (event, newStart?, newEnd?) => number;
Defined in: calendar/features/duration.ts:10
Parameters
event
TEvent
newStart?
string
newEnd?
string
Returns
number