| <!DOCTYPE html> |
| <!-- |
| Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <link rel="import" href="/base/base.html"> |
| <link rel="import" href="/base/units/time.html"> |
| <script> |
| 'use strict'; |
| |
| /** |
| * @fileoverview Deprecated, use the other units classes. |
| */ |
| tr.exportTo('tr.b.units', function() { |
| function tsString(ts) { |
| return tr.b.units.Time.currentDisplayUnit.format(ts); |
| } |
| |
| return { |
| tsString: tsString |
| }; |
| }); |
| </script> |