@asadi/angular-date-components
Version:
`Angular Date Components` is a comprehensive angular library of date-related components designed to meet the needs of applications that require localization based on various calendar systems. While the package currently includes two powerful components (S
18 lines (17 loc) • 647 B
TypeScript
/**
* Enum representing different date splitters that can be used for formatting dates in Angular Date Components.
* This allows users to specify a preferred delimiter when formatting or parsing dates.
*
* **Values**:
* - `slash ('/')`: Uses a forward slash to separate date components (e.g., `YYYY/MM/DD`).
* - `hyphen ('-')`: Uses a hyphen to separate date components (e.g., `YYYY-MM-DD`).
*
* @example
* // Example usage:
* const dateFormat = ADCDateSplitter.slash;
* console.log(`Selected date format: ${dateFormat}`); // Output: Selected date format: /
*/
export declare enum ADCDateSplitter {
slash = "/",
hyphen = "-"
}