class PLRuby::Tinterval - RDoc Documentation

# class PLRuby::Tinterval

The class PLRuby::Tinterval implement the PostgreSQL type tinterval

### Public Class Methods

from_string(string) click to toggle source

Convert a String (PostgreSQL representation) to a Tinterval

    # File plruby.rb, line 1272
    def from_string(string)
    end

new(low, high) click to toggle source

create a Tinterval with the 2 Time objects low and high

    # File plruby.rb, line 1286
    def initialize(low, high)
    end

### Public Instance Methods

high() click to toggle source

return a Time which is the high value of the interval

    # File plruby.rb, line 1277
    def high
    end

high=(time) click to toggle source

set the high value for the interval

    # File plruby.rb, line 1281
    def high=(time)
    end

low() click to toggle source

return a Time which is the low value of the interval

    # File plruby.rb, line 1290
    def low
    end

low=(time) click to toggle source

set the low value for the interval

    # File plruby.rb, line 1294
    def low=(time)
    end

to_s() click to toggle source

return the string representation of the object

    # File plruby.rb, line 1298
    def to_s
    end