Commit 880b4b4c by Patryk Czarnik

wydzielanie 1

parent c668451e
package osoby;
import java.time.DayOfWeek;
import java.time.LocalDateTime;
import java.time.format.TextStyle;
import java.util.Locale;
public class Wydzielanie {
public static void main(String[] args) {
System.out.println("Teraz jest " + LocalDateTime.now());
System.out.println("Bieżąca sekunda " + LocalDateTime.now().getSecond());
DayOfWeek dayOfWeek = LocalDateTime.now().getDayOfWeek();
System.out.println(dayOfWeek);
System.out.println(dayOfWeek.getDisplayName(TextStyle.FULL, Locale.US));
new Wydzielanie().run();
}
private void run() {
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment