Class Revs

  • All Implemented Interfaces:
    Duration, java.io.Serializable

    public class Revs
    extends ConcreteDuration
    implements java.io.Serializable
    A finite number of revolutions There are two implementations provided of the conversions methods one as object interface, where an object of the current class has to be instantiated. The other implementation is provided as static class methods.
    See Also:
    Serialized Form
    • Constructor Detail

      • Revs

        public Revs()
        Default constructor
      • Revs

        public Revs​(double revs)
        Construct object
        Parameters:
        revs - number of revs
    • Method Detail

      • asNanoSecs

        public static long asNanoSecs​(double revs)
        Parameters:
        revs - The time in revs to convert.
        Returns:
        revs expressed in nanosecs
      • asSecs

        public static double asSecs​(double revs)
        Parameters:
        revs - The time in revs to convert.
        Returns:
        revs expressed in secs
      • asMins

        public static double asMins​(double revs)
        Parameters:
        revs - The time in revs to convert
        Returns:
        revs expressed in mins
      • asHours

        public static double asHours​(double revs)
        Parameters:
        revs - Time in hours to convert
        Returns:
        hours expressed in revs.
      • asDays

        public static double asDays​(double revs)
        Parameters:
        revs - Time in revs to convert.
        Returns:
        revs expressed in days
      • asJulianYears

        public static double asJulianYears​(double revs)
        Parameters:
        revs - Time in revolutions to convert.
        Returns:
        revs expressed in JulianYears
      • clone

        public Revs clone()
        Overrides:
        clone in class java.lang.Object
        See Also:
        Object.clone()