public static void printEpoch() {
Instant now = Instant.now();
long epochSecond = now.getEpochSecond();
long epochMilli = now.toEpochMilli();
int nano = now.getNano();
String epochMicroSecond = String.format("%d%d", epochSecond, nano / 1000);
System.out.printf(" %d s %d 位%n %d ms %d 位%n %d μs %d 位%n %d%d ns %d 位%n"
, epochSecond, String.valueOf(epochSecond).length()
, epochMilli, String.valueOf(epochMilli).length()
, Long.parseLong(epochMicroSecond), epochMicroSecond.length()
, epochSecond, nano, String.format("%d%d", epochSecond, nano).length());
}