Skip to content

Commit

Permalink
Level 8 Updated
Browse files Browse the repository at this point in the history
Move some code for clean merge
  • Loading branch information
gachia committed Aug 27, 2019
1 parent d999f47 commit 9b90d64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/Duke.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import java.time.LocalDateTime;
import java.util.Scanner;
import java.util.ArrayList;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class Duke {
Expand All @@ -15,13 +15,13 @@ public static void main(String[] args) {
final String lineSpace = "_______________________________\n";
String startMessage = lineSpace + "Hello! I'm Duke\nWhat can I do for you?\n" + lineSpace;
System.out.println(startMessage);
//Time
final String timePattern = "d MMMM yyyy, h:mma";
DateTimeFormatter dateTimeFormat = DateTimeFormatter.ofPattern(timePattern);
Scanner sc = new Scanner(System.in);
ArrayList<Task> list = new ArrayList();
String taskName;
Task task;
//Time
final String timePattern = "d MMMM yyyy, h:mma";
DateTimeFormatter dateTimeFormat = DateTimeFormatter.ofPattern(timePattern);
while (sc.hasNext()) {
try {
String userCmd = sc.next();
Expand Down

0 comments on commit 9b90d64

Please sign in to comment.