blob: 35232cb1eb54cca9f907d1afa1f4ef9b993d6f78 [file] [log] [blame]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:io';
import 'package:intl4x/datetime_format.dart';
import 'package:intl4x/intl4x.dart';
void main(List<String> arguments) {
const timeZone = TimeZone.long(
name: 'Europe/Paris',
offset: Duration(hours: 2),
);
print(Platform.localeName);
print(Intl().locale);
print(Intl().dateTimeFormat().time(DateTime.now(), timeZone: timeZone));
}