module Frodo::Query::Criteria::DateFunctions

Public Instance Methods

date() click to toggle source

Applies the `date` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 49
def date
  set_function_and_argument(:date, nil)
end
day() click to toggle source

Applies the `day` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 19
def day
  set_function_and_argument(:day, nil)
end
fractionalseconds() click to toggle source

Applies the `fractionalseconds` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 43
def fractionalseconds
  set_function_and_argument(:fractionalseconds, nil)
end
hour() click to toggle source

Applies the `hour` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 25
def hour
  set_function_and_argument(:hour, nil)
end
minute() click to toggle source

Applies the `minute` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 31
def minute
  set_function_and_argument(:minute, nil)
end
month() click to toggle source

Applies the `month` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 13
def month
  set_function_and_argument(:month, nil)
end
second() click to toggle source

Applies the `second` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 37
def second
  set_function_and_argument(:second, nil)
end
time() click to toggle source

Applies the `time` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 55
def time
  set_function_and_argument(:time, nil)
end
year() click to toggle source

Applies the `year` function. @return [self]

# File lib/frodo/query/criteria/date_functions.rb, line 7
def year
  set_function_and_argument(:year, nil)
end