SiDateRangeCalculationService documentation¶
import { SiDateRangeCalculationService } from '@siemens/element-ng/date-range-filter';Service to transform and calculate with DateRangeFilter objects.
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| removeTime() ¶ | Utility to reset the time attributes to 0 (hours/minutes/seconds/milliseconds). | |
| resolveDateRangeFilter() ¶ | (filter: DateRangeFilter, options?: ResolveDateRangeOptions) => ResolvedDateRange | Calculates the start and end dates of a DateRangeFilter. Returns: The resolved result in form of a ResolvedDateRange object. Parameters
|
Types Documentation¶
import type { ResolveDateRangeOptions } from '@siemens/element-ng/date-range-filter'; Except where otherwise noted, content on this site is licensed under MIT License.