LoadCldr(
require('cldr-data/supplemental/numberingSystems.json'),
require('cldr-data/main/fr-CH/ca-gregorian.json'),
require('cldr-data/main/fr-CH/numbers.json'),
require('cldr-data/main/fr-CH/timeZoneNames.json'));
loadCldr(
require('cldr-data/supplemental/numberingSystems.json'),
require('cldr-data/main/fr-CH/ca-gregorian.json'),
require('cldr-data/main/fr-CH/numbers.json'),
require('cldr-data/main/fr-CH/timeZoneNames.json'));
loadCldr(numberingSystems['default'], gregorian['default'], numbers['default'], timeZoneNames['default']); |
public timeScale: TimeScaleModel = {
enable: true,
interval: 60,
slotCount: 4,
majorSlotTemplate: "#majorSlotTemplate",
minorSlotTemplate: "#minorSlotTemplate"
};
public instance: Internationalization = new Internationalization();
getMajorTime(date: Date): string {
return this.instance.formatDate(date, { skeleton: "Hm" });
}
getMinorTime(date: Date): string {
return this.instance.formatDate(date, { skeleton: "Hm" });
}
|