Uses of Enum Class
com.irurueta.units.TimeUnit
-
Uses of TimeUnit in com.irurueta.units
Methods in com.irurueta.units that return TimeUnitModifier and TypeMethodDescriptionAttempts to determine a time unit within a measurement string representation.static TimeUnit[]TimeUnit.getMetricUnits()Gets all supported metric time units.static TimeUnit[]TimeUnit.getNonInternationalSystemUnits()Gets all supported units not belonging to the International System of Units.static TimeUnitReturns the enum constant of this class with the specified name.static TimeUnit[]TimeUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.irurueta.units with parameters of type TimeUnitModifier and TypeMethodDescriptionvoidAdds provided time value and unit and updates current time instance.static doubleAdds two time values and units and returns the result.voidAdds provided time value and unit and updates current time instance.static NumberAdds two time values and units and returns the result.Time.addAndReturnNew(double value, TimeUnit unit, TimeUnit resultUnit) Adds provided time value and unit and returns a new time instance using provided unit.static TimeTime.addAndReturnNew(Time arg1, Time arg2, TimeUnit unit) Adds two time instances.Time.addAndReturnNew(Time t, TimeUnit unit) Adds provided time to current instance and returns a new time instance.Time.addAndReturnNew(Number value, TimeUnit unit, TimeUnit resultUnit) Adds provided time value and unit and returns a new time instance using provided unit.static doubleConverts a time value from input unit to provided output unit.static voidConverts and updates a time to requested output unit.static voidConverts a time to requested output unit.static NumberConverts a time value from input unit to provided output unit.static TimeTimeConverter.convertAndReturnNew(Time input, TimeUnit outputUnit) Converts a time to requested output unit.Formats provided time value and unit into a string representation.TimeFormatter.format(Number value, TimeUnit unit, StringBuffer toAppendTo, FieldPosition pos) Formats provided time value and unit into a string representation and appends the result into provided string buffer.TimeFormatter.formatAndConvert(Number value, TimeUnit unit, UnitSystem system) Formats and converts provided time value and unit.TimeFormatter.getUnitSymbol(TimeUnit unit) Returns unit string representation.static UnitSystemTimeUnit.getUnitSystem(TimeUnit unit) Returns unit system for provided time unit.static booleanIndicates whether provided unit belongs to the metric unit system.static booleanTimeUnit.isNonInternationalSystem(TimeUnit unit) Indicates whether provided unit belongs to the International System of units.voidSubtracts provided time value and unit and updates current time instance.static doubleSubtracts two time values and units and returns the result.voidSubtracts provided time value and unit and updates current time instance.static NumberSubtracts two time values and units and returns the result.Time.subtractAndReturnNew(double value, TimeUnit unit, TimeUnit resultUnit) Subtracts provided time value and unit and returns a new time instance using provided unit.static TimeTime.subtractAndReturnNew(Time arg1, Time arg2, TimeUnit unit) Subtracts two time instances.Time.subtractAndReturnNew(Time t, TimeUnit unit) Subtracts provided time to current instance and returns a new instance.Time.subtractAndReturnNew(Number value, TimeUnit unit, TimeUnit resultUnit) Subtracts provided time value and unit and returns a new time instance using provided unit.Method parameters in com.irurueta.units with type arguments of type TimeUnitModifier and TypeMethodDescriptionbooleanTime.equals(Measurement<TimeUnit> other, double tolerance) Determines if two time instances are equal up to a certain tolerance.Constructors in com.irurueta.units with parameters of type TimeUnit