Skip to content

Commit

Permalink
Update salary format message
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHANGTIANYAO1 committed Apr 10, 2024
1 parent b17bab7 commit 0f053ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/seedu/address/model/person/Salary.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
public class Salary {
public static final String MESSAGE_CONSTRAINTS = "Salaries should only contain numbers, with range [0, 4294967295] "
+ "or two pure digital numbers with ‘-’ in between. "
+ "Numbers can vary from large to small or from small to large. "
+ "Both digital numbers should be within the range [0, 4294967295]";
+ "or two pure digital numbers with '-' in between. "
+ "There's no space on either side of '-'."
+ "Both digital numbers should be within the range [0, 2147483647]";
public static final String VALIDATION_REGEX = "^(\\d{1,10})(-\\d{1,10})?$";
public static final int UPPERBOUND = 2147483647;
public static final int LOWERBOUND = 0;
Expand Down

0 comments on commit 0f053ea

Please sign in to comment.