Class TimeJELFunction.TimeQuantity

java.lang.Object
uk.ac.starlink.ttools.plot2.geom.TimeJELFunction.TimeQuantity
Enclosing class:
TimeJELFunction

public static class TimeJELFunction.TimeQuantity extends Object
Defines a quantity representing time that can be used in expressions supplied to this class.
  • Method Details

    • getName

      public String getName()
      Returns this quantity's name.
      Returns:
      variable name
    • getDescription

      public String getDescription()
      Returns a short plain-text description of this quantity.
      Returns:
      description
    • fromUnixSeconds

      public double fromUnixSeconds(double unixSec)
      Maps a time in unix seconds to the value represented by this quantity.
      Parameters:
      unixSec - seconds since unix epoch
      Returns:
      time value in this quantity