Interface TimeSettable

All Superinterfaces:
ScalarSettable, ScalarTyped, TokenSettable, TokenTyped
All Known Subinterfaces:
TimeOutputField
All Known Implementing Classes:
TimeRegister

public interface TimeSettable extends ScalarSettable
A TokenSettable object containing a time value.
See Also:
  • TokenTypeConstant#TIME
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(int millis)
    Sets the container to a time value specified as the number of milliseconds since midnight.
    void
    set(TimeOfDay time)
    Sets the container to the specified time of day.

    Methods inherited from interface com.pervasive.datarush.types.ScalarTyped

    getType

    Methods inherited from interface com.pervasive.datarush.tokens.TokenSettable

    set, setNull, setZero
  • Method Details

    • set

      void set(int millis)
      Sets the container to a time value specified as the number of milliseconds since midnight.
      Parameters:
      millis - time value to which to set the container, expressed as the number of milliseconds since midnight
    • set

      void set(TimeOfDay time)
      Sets the container to the specified time of day.
      Parameters:
      time - the time value to which to set the container