Class TimePeriod

java.lang.Object
com.strategyquant.lib.TimePeriod

public class TimePeriod extends Object
The Class TimePeriod.
  • Field Details

    • from

      public long from
      The from.
    • to

      public long to
      The to.
    • value

      public double value
      The value.
    • name

      public String name
      The name.
    • note

      public String note
      The note.
    • type

      public byte type
      The type.
  • Constructor Details

    • TimePeriod

      public TimePeriod()
      Instantiates a new time period.
    • TimePeriod

      public TimePeriod(long from, long to)
      Instantiates a new time period.
      Parameters:
      from - the from
      to - the to
    • TimePeriod

      public TimePeriod(long from, long to, String name)
      Instantiates a new time period.
      Parameters:
      from - the from
      to - the to
      name - the name
    • TimePeriod

      public TimePeriod(TimePeriod p)
      Instantiates a new time period.
      Parameters:
      p - the p
  • Method Details

    • clone

      public TimePeriod clone()
      Clone.
      Returns:
      the time period