Class Builders

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

public class Builders extends Object
The four entry points of the f() API, reached as fields rather than method calls - f().date, not f().date().

Pick by the shape of the value: date for a calendar date with no time, time for a time of day with no date, instant for an absolute moment, and list for folding a list to a single value.

  • Field Details

    • date

      public PlainDateBuilder date
      Calendar dates with no time and no zone. Start here for f().date.today().
    • time

      public PlainTimeBuilder time
      Times of day with no date and no zone, e.g. f().time.of("2:30pm").
    • instant

      public InstantBuilder instant
      Absolute moments in time, e.g. f().instant.now().
    • list

      public ListBuilder list
      List folding, e.g. f().list.reduce(items).startingWith(0).
  • Constructor Details

    • Builders

      public Builders()