UNPKG

@progress/kendo-charts

Version:

Kendo UI platform-independent Charts library

24 lines (16 loc) 414 B
const defaultImplementation = { format: (format, value) => value, toString: (value) => value, parseDate: (value) => new Date(value), firstDay: () => 0 }; let current = defaultImplementation; class IntlService { static register(userImplementation) { current = userImplementation; } static get implementation() { return current; } } export default IntlService;