001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.units; 006 007/** 008 * Unit of time dimension. 009 * 010 * <p>This is the base type for units of time dimension. It is also used to specify the dimension 011 * for {@link Measure}: <code>Measure<Time></code>. 012 * 013 * <p>Actual units (such as {@link Units#Seconds} and {@link Units#Milliseconds}) can be found in 014 * the {@link Units} class. 015 */ 016public class Time extends Unit<Time> { 017 Time(Time baseUnit, double baseUnitEquivalent, String name, String symbol) { 018 super(baseUnit, baseUnitEquivalent, name, symbol); 019 } 020 021 Time( 022 Time baseUnit, 023 UnaryFunction toBaseConverter, 024 UnaryFunction fromBaseConverter, 025 String name, 026 String symbol) { 027 super(baseUnit, toBaseConverter, fromBaseConverter, name, symbol); 028 } 029}