public class UnixTimestamp extends Object
| Constructor and Description |
|---|
UnixTimestamp() |
| Modifier and Type | Method and Description |
|---|---|
static UnixTimestamp |
fromInstant(@NonNull Instant instant)
Creates a Unix timestamp of the given instant
|
static UnixTimestamp |
now() |
String |
toString() |
public static UnixTimestamp now()
public static UnixTimestamp fromInstant(@NonNull @NonNull Instant instant)
instant - The Instant that should be convertedCopyright © 2022 drjekyll.org. All rights reserved.