Comparable class for LAST_N_FISCAL_YEARS
Since
1/8/2025
Group Soql Engine
Author Zackary Frazier
Inheritance
Inherited
The number in variable date literals
public n
Integer
Inherited
The token for the date literal
public token
String
Inherited
Whether the date literal is equal to the field value
public Boolean isEqual(DateTime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | DateTime | Date or Datetime value |
Boolean
Whether fieldValue is equal to the date literal
public override Boolean isGreaterThan(Datetime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | Datetime |
Boolean
Inherited
Whether the date literal is greater than or equal to the field value
public Boolean isGreaterThanOrEqual(DateTime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | DateTime | Date or Datetime value |
Boolean
Whether fieldValue is greater than or equal to the date literal
public override Boolean isLessThan(Datetime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | Datetime |
Boolean
Inherited
Whether the date literal is less than or equal to the field value
public Boolean isLessThanOrEqual(DateTime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | DateTime | Date or Datetime value |
Boolean
Whether fieldValue is less than or equal to the date literal
Inherited
Whether the date literal is not equal to the field value
public Boolean isNotEqual(DateTime fieldValue)
Name | Type | Description |
---|---|---|
fieldValue | DateTime | Date or Datetime value |
Boolean
Whether fieldValue is not equal to the date literal
Inherited
Sets the token for the date literal
public DateLiteralComparable withToken(String token)
Name | Type | Description |
---|---|---|
token | String | Parsed token |
This instance of DateLiteralComparable