@carbon/utilities
Version:
Utilities and helpers to drive consistency across software products using the Carbon Design System
15 lines • 488 B
TypeScript
//#region src/datePartsOrder/datePartsOrder.d.ts
/**
* Copyright IBM Corp. 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
type Order = 'month-year' | 'year-month';
declare function getMonthYearOrder(locale: string): Order;
declare const datePartsOrder: {
getMonthYearOrder: typeof getMonthYearOrder;
isMonthFirst: (locale: string) => boolean;
};
//#endregion
export { datePartsOrder };