get

public static Now get(ZoneId timeZone)
public static Now get(ZoneId timeZone)

Obtains the Now in the given time zone.

Parameters

timeZone

the time zone to obtain time in


public static Now get()

Obtains the Now in the current time zone provided by currentTimeZone.

Note that the time zone of the resulting instance will never change, even if the currentTimeZone changes.


public static Now get(ZoneOffset offset)

Deprecated

Obtains the Now with the given zone offset.

Deprecated

please use get or get

Parameters

offset

the time zone offset