Class F

java.lang.Object
com.ssgllc.fish.f.F

public class F extends Object
Dates, times, instants and list folding, as a fluent chain: the f() API.

Reached as #f() from SpEL and f() from Groovy - both resolve by name, so neither needs an import. The next step is always one of four fields: date for calendar dates, time for times of day, instant for absolute moments, list for folding. From there the chain continues by method call, as in #f().date.today().plainDate.toIso().

  • Constructor Details

    • F

      public F()
  • Method Details

    • f

      public static Builders f()
      Entry point for the f() expression API: date, time, instant and list helpers reached by a fluent chain.

      Written #f() in a SpEL expression and bare f() in a Groovy script - both resolve by name, so neither needs an import. The next step is always one of the fields on Builders: date, time, instant or list.

      Returns:
      the builder roots

      Groovy example:
      return f().date.today().toIso()

      Returns:
      "2026-08-21"

      SpEL example:
      #f().date.today().toIso()