-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15b60a7
commit bd4518e
Showing
14 changed files
with
305 additions
and
111 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
64 changes: 64 additions & 0 deletions
64
src/main/java/org/easetech/easytest/internal/DateTimeFormat.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package org.easetech.easytest.internal; | ||
|
||
public class DateTimeFormat { | ||
|
||
private String[] dateFormat = {"dd/MM/yyyy", "dd-MM-yyyy"}; | ||
|
||
private String[] timeFormat = {"HH:MM:SS"}; | ||
|
||
private String[] dateTimeFormat = {"dd/MM/yyyy HH:MM:SS" , "dd-MM-yyyy HH:MM:SS"}; | ||
|
||
/** | ||
* @return the dateFormat | ||
*/ | ||
public String[] getDateFormat() { | ||
return dateFormat; | ||
} | ||
|
||
/** | ||
* @param dateFormat the dateFormat to set | ||
*/ | ||
public void setDateFormat(String[] dateFormat) { | ||
this.dateFormat = dateFormat; | ||
} | ||
|
||
/** | ||
* @return the timeFormat | ||
*/ | ||
public String[] getTimeFormat() { | ||
return timeFormat; | ||
} | ||
|
||
/** | ||
* @param timeFormat the timeFormat to set | ||
*/ | ||
public void setTimeFormat(String[] timeFormat) { | ||
this.timeFormat = timeFormat; | ||
} | ||
|
||
/** | ||
* @return the dateTimeFormat | ||
*/ | ||
public String[] getDateTimeFormat() { | ||
return dateTimeFormat; | ||
} | ||
|
||
/** | ||
* @param dateTimeFormat the dateTimeFormat to set | ||
*/ | ||
public void setDateTimeFormat(String[] dateTimeFormat) { | ||
this.dateTimeFormat = dateTimeFormat; | ||
} | ||
|
||
/** | ||
* @return | ||
*/ | ||
@Override | ||
public String toString() { | ||
return "DateTimeFormat [dateFormat=" + dateFormat + ", timeFormat=" + timeFormat + ", dateTimeFormat=" | ||
+ dateTimeFormat + "]"; | ||
} | ||
|
||
|
||
|
||
} |
Oops, something went wrong.