blob: 163e8b3c21d794675903854ed3a91394456743c1 [file] [log] [blame]
//
// Copyright 2014 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
library charted.locale;
import 'package:charted/locale/format.dart';
part 'languages/en_us.dart';
abstract class Locale {
String get identifier;
String get decimal;
String get thousands;
List get grouping;
List get currency;
String get dateTime;
String get date;
String get time;
List get periods;
List get days;
List get shortDays;
List get months;
List get shortMonths;
Locale();
NumberFormat get numberFormat => new NumberFormat(this);
TimeFormat timeFormat([specifier = null]) =>
new TimeFormat(specifier, this.identifier);
}