Clock.instant

Gets the current instant of the clock. !(p) This returns an instant representing the current instant as defined by the clock.

@return the current instant from this clock, not null @throws DateTimeException if the instant cannot be obtained, not thrown by most implementations

class Clock
abstract
instant
()

Meta