From 768eb43d61b7d729f27d472eab4a8eeae0010783 Mon Sep 17 00:00:00 2001 From: ljc <3413625611@qq.com> Date: Tue, 26 Nov 2024 16:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4getCurrenTime()=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.java | 2 +- src/model/OutboundRecord.java | 2 +- src/view/OutboundView.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.java b/src/Main.java index a4bf66d..07535b4 100644 --- a/src/Main.java +++ b/src/Main.java @@ -116,7 +116,7 @@ public class Main extends Application { timeThread.start(); return statusBar; } - private String getCurrentTime() { + private String getCurrentTime() {//实时时间 return java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); } private MenuBar createMenuBar() { diff --git a/src/model/OutboundRecord.java b/src/model/OutboundRecord.java index 4060182..30bf39d 100644 --- a/src/model/OutboundRecord.java +++ b/src/model/OutboundRecord.java @@ -79,4 +79,4 @@ public class OutboundRecord { public void setRemark(String remark) { this.remark = remark; } -} +} \ No newline at end of file diff --git a/src/view/OutboundView.java b/src/view/OutboundView.java index f334811..f137e80 100644 --- a/src/view/OutboundView.java +++ b/src/view/OutboundView.java @@ -220,4 +220,4 @@ public class OutboundView extends BorderPane { alert.setContentText(content); alert.showAndWait(); } -} +} \ No newline at end of file