瀏覽代碼

currentDay()

- It now returns the array of the actual numbers instead of the default
formatting
master
BinHong Lee 8 年之前
父節點
當前提交
e53d8b0423
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      Main.java

+ 2
- 2
Main.java 查看文件

@@ -107,8 +107,8 @@ class Main
{
int[] currentDay = new int[3];

currentDay[0] = date.getYear();
currentDay[1] = date.getMonth();
currentDay[0] = date.getYear() + 1900;
currentDay[1] = date.getMonth() + 1;
currentDay[2] = date.getDate();

return currentDay;


Loading…
取消
儲存