Class ToParameter


  • public class ToParameter
    extends Parameter
    Returns the results between now* and the value specified. When used in conjunction with the from parameter, the value of to will be relative to the value of from, not relative to the current time.

    Supports a UNIX timestamp a specific date string, or a string supported by the PHP strtotime() function.

    Examples:
    to=+6hours
    to=+5days
    to=1302883980
    to=7/10/2011
    to=2011/07/10
    • Constructor Detail

      • ToParameter

        public ToParameter​(String value)
        Constructs the to parameter with the given value.
        Parameters:
        value - value to use