Issue#1: branch 'iss1_ljs'#7
Merged
Merged
Conversation
Kimhyewon0621
approved these changes
Dec 5, 2025
Kimhyewon0621
left a comment
Owner
There was a problem hiding this comment.
Looks great To Me!
The core logic and input validation are very well implemented. Since I'm in charge of the UI, I plan to open a new issue later to unify the input interface with the overall UI design. I'll handle the UI integration in that upcoming issue. Great job!
AyeongKwon
reviewed
Dec 5, 2025
Co-authored-by: AyeongKwon <zero523@seoultech.ac.kr>
mingyeonggg
approved these changes
Dec 5, 2025
mingyeonggg
left a comment
Collaborator
There was a problem hiding this comment.
The code looks great! I just left one small comment to improve the UX. Other than that, everything looks perfect.
AyeongKwon
approved these changes
Dec 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
#1 handled
Summary
This implements the initial input system for UniTime-Solver.
Users can enter the maximum credit, mandatory courses, and optional courses, which are then stored and accessible through getters.
Changes
Course class: Stores individual course information
Added fields for name, credit, day, start time, and end time
Added getters(getName, getDay, getCredit, getStartTime, getEndTime, getTimeRaw) and toString() for safe data use.
InputHandler class: Console input system
main: handles user input flow and prints a final summary
inputLoop: validates and parses course input, then adds it to the list
parseMin: converts "HH:MM" into minutes with validation
Added getters (getMandatoryList, getOptionalList, getMaxCredit) to access parsed data from other modules