lib/texp/day_interval.rb
# Encode the temporal expression into +codes+.
Encode the temporal expression into +codes+.
Encode the temporal expression into + codes + .
def encode(codes)
      if @base_date
        encode_date(codes, @base_date)
      else
        codes << 0
      end
      codes << ',' << @interval << encoding_token
    end
def encode ( codes ) if @base_date encode_date ( codes , @base_date ) else codes << 0 end codes << ',' << @interval << encoding_token end
Encode the temporal expression into +codes+.
Encode the temporal expression into + codes + .
codes
<not_specific>