60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
45 lines
1.4 KiB
TypeScript
45 lines
1.4 KiB
TypeScript
import { GMT, Weekday } from './index';
|
|
/**
|
|
* Only the first parameter is mandatory. Either the second, the third, or both
|
|
* may be left out.
|
|
*
|
|
* If only one parameter is present, the function yeilds a true value on the
|
|
* weekday that the parameter represents. If the string "GMT" is specified as
|
|
* a second parameter, times are taken to be in GMT, otherwise in local timezone.
|
|
*
|
|
* If both wd1 and wd1 are defined, the condition is true if the current weekday
|
|
* is in between those two weekdays. Bounds are inclusive. If the "GMT" parameter
|
|
* is specified, times are taken to be in GMT, otherwise the local timezone is
|
|
* used.
|
|
*
|
|
* Valid "weekday strings" are:
|
|
*
|
|
* SUN MON TUE WED THU FRI SAT
|
|
*
|
|
* Examples:
|
|
*
|
|
* ``` js
|
|
* weekdayRange("MON", "FRI")
|
|
* true Monday trhough Friday (local timezone).
|
|
*
|
|
* weekdayRange("MON", "FRI", "GMT")
|
|
* same as above, but GMT timezone.
|
|
*
|
|
* weekdayRange("SAT")
|
|
* true on Saturdays local time.
|
|
*
|
|
* weekdayRange("SAT", "GMT")
|
|
* true on Saturdays GMT time.
|
|
*
|
|
* weekdayRange("FRI", "MON")
|
|
* true Friday through Monday (note, order does matter!).
|
|
* ```
|
|
*
|
|
*
|
|
* @param {String} wd1 one of the weekday strings.
|
|
* @param {String} wd2 one of the weekday strings.
|
|
* @param {String} gmt is either the string: GMT or is left out.
|
|
* @return {Boolean}
|
|
*/
|
|
export default function weekdayRange(wd1: Weekday, wd2?: Weekday | GMT, gmt?: GMT): boolean;
|
|
//# sourceMappingURL=weekdayRange.d.ts.map
|