blob: afefdf21c3b05b2951b57a81207a0a25356525b0 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <ostream>
#include "command.h"
namespace icu_data_extractor {
// Command: "tz-version"
// Extracts the time zone version ID (e.g. "2019c") from the loaded ICU data and
// writes it to the output path, if given, or to STDOUT otherwise.
class TzVersion : public icu_data_extractor::Command {
std::string_view Name() const final;
int Execute(const fxl::CommandLine& command_line,
const fxl::CommandLine& sub_command_line) const final;
void PrintDocs(std::ostream& os) const final;
} // namespace icu_data_extractor