Module: FrOData::Query::Criteria::DateFunctions

Included in:
FrOData::Query::Criteria
Defined in:
lib/frodata/query/criteria/date_functions.rb

Instance Method Summary collapse

Instance Method Details

#dateself

Applies the ‘date` function.

Returns:

  • (self)


49
50
51
# File 'lib/frodata/query/criteria/date_functions.rb', line 49

def date
  set_function_and_argument(:date, nil)
end

#dayself

Applies the ‘day` function.

Returns:

  • (self)


19
20
21
# File 'lib/frodata/query/criteria/date_functions.rb', line 19

def day
  set_function_and_argument(:day, nil)
end

#fractionalsecondsself

Applies the ‘fractionalseconds` function.

Returns:

  • (self)


43
44
45
# File 'lib/frodata/query/criteria/date_functions.rb', line 43

def fractionalseconds
  set_function_and_argument(:fractionalseconds, nil)
end

#hourself

Applies the ‘hour` function.

Returns:

  • (self)


25
26
27
# File 'lib/frodata/query/criteria/date_functions.rb', line 25

def hour
  set_function_and_argument(:hour, nil)
end

#minuteself

Applies the ‘minute` function.

Returns:

  • (self)


31
32
33
# File 'lib/frodata/query/criteria/date_functions.rb', line 31

def minute
  set_function_and_argument(:minute, nil)
end

#monthself

Applies the ‘month` function.

Returns:

  • (self)


13
14
15
# File 'lib/frodata/query/criteria/date_functions.rb', line 13

def month
  set_function_and_argument(:month, nil)
end

#secondself

Applies the ‘second` function.

Returns:

  • (self)


37
38
39
# File 'lib/frodata/query/criteria/date_functions.rb', line 37

def second
  set_function_and_argument(:second, nil)
end

#timeself

Applies the ‘time` function.

Returns:

  • (self)


55
56
57
# File 'lib/frodata/query/criteria/date_functions.rb', line 55

def time
  set_function_and_argument(:time, nil)
end

#yearself

Applies the ‘year` function.

Returns:

  • (self)


7
8
9
# File 'lib/frodata/query/criteria/date_functions.rb', line 7

def year
  set_function_and_argument(:year, nil)
end