Skip to content

Latest commit

 

History

History
194 lines (127 loc) · 2.93 KB

LastNFiscalYearsComparable.md

File metadata and controls

194 lines (127 loc) · 2.93 KB

LastNFiscalYearsComparable Class

Comparable class for LAST_N_FISCAL_YEARS

Since

1/8/2025

Group Soql Engine

Author Zackary Frazier

Inheritance

DateLiteralComparable

Properties

n

Inherited

The number in variable date literals

Signature

public n

Type

Integer


token

Inherited

The token for the date literal

Signature

public token

Type

String

Methods

isEqual(fieldValue)

Inherited

Whether the date literal is equal to the field value

Signature

public Boolean isEqual(DateTime fieldValue)

Parameters

Name Type Description
fieldValue DateTime Date or Datetime value

Return Type

Boolean

Whether fieldValue is equal to the date literal


isGreaterThan(fieldValue)

Signature

public override Boolean isGreaterThan(Datetime fieldValue)

Parameters

Name Type Description
fieldValue Datetime

Return Type

Boolean


isGreaterThanOrEqual(fieldValue)

Inherited

Whether the date literal is greater than or equal to the field value

Signature

public Boolean isGreaterThanOrEqual(DateTime fieldValue)

Parameters

Name Type Description
fieldValue DateTime Date or Datetime value

Return Type

Boolean

Whether fieldValue is greater than or equal to the date literal


isLessThan(fieldValue)

Signature

public override Boolean isLessThan(Datetime fieldValue)

Parameters

Name Type Description
fieldValue Datetime

Return Type

Boolean


isLessThanOrEqual(fieldValue)

Inherited

Whether the date literal is less than or equal to the field value

Signature

public Boolean isLessThanOrEqual(DateTime fieldValue)

Parameters

Name Type Description
fieldValue DateTime Date or Datetime value

Return Type

Boolean

Whether fieldValue is less than or equal to the date literal


isNotEqual(fieldValue)

Inherited

Whether the date literal is not equal to the field value

Signature

public Boolean isNotEqual(DateTime fieldValue)

Parameters

Name Type Description
fieldValue DateTime Date or Datetime value

Return Type

Boolean

Whether fieldValue is not equal to the date literal


withToken(token)

Inherited

Sets the token for the date literal

Signature

public DateLiteralComparable withToken(String token)

Parameters

Name Type Description
token String Parsed token

Return Type

DateLiteralComparable

This instance of DateLiteralComparable