Package org.apache.groovy.datetime

# Class TimeCategory.From

java.lang.Object
org.apache.groovy.datetime.TimeCategory.From

Enclosing class:
  TimeCategory

public static final class TimeCategory.From extends Object
Helper returned by `TimeCategory.getFrom(java.time.Duration)`, supporting the `.now` / `.today` suffix.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Temporal`
  `getNow()`
  `Temporal`
  `getToday()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getNow

    public Temporal getNow()

  - ### getToday

    public Temporal getToday()