mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
11 lines
338 B
Java
11 lines
338 B
Java
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
|
import java.time.OffsetDateTime;
|
|
import java.time.temporal.ChronoField;
|
|
|
|
class Main {
|
|
|
|
public static int test(OffsetDateTime offsetDateTime) {
|
|
return offsetDateTime.get<caret>(ChronoField.NANO_OF_SECOND);
|
|
}
|
|
}
|