@goteborgco/open-api-js-client
Version:
Official JavaScript client for the Göteborg & Co GraphQL API
16 lines (15 loc) • 454 B
TypeScript
export declare class EventDate {
readonly start?: string;
readonly end?: string;
constructor(data: any);
/**
* Check if the date range is currently active
* @returns boolean indicating if the current date is within the range
*/
isActive(): boolean;
/**
* Get formatted date range string
* @returns Formatted date range or undefined if no dates exist
*/
getFormattedRange(): string | undefined;
}