| Constructor and Description |
|---|
DateMatch(String match,
Configuration configuration,
int day,
int month,
int year,
String separator,
int start_index,
int end_index)
Create a new
DateMatch |
| Modifier and Type | Method and Description |
|---|---|
int |
getDay() |
String |
getDetails()
Returns details about this match in the form of a String to be printed directly
|
int |
getMonth() |
String |
getSeparator() |
int |
getYear() |
calculateEntropy, getEndIndex, getLength, getStartIndex, getToken, log2, nCk, setEntropypublic DateMatch(String match, Configuration configuration, int day, int month, int year, String separator, int start_index, int end_index)
DateMatchmatch - the String we are creating the DateMatch from.configuration - the Configuration object.day - the day of monthmonth - the monthyear - the yearseparator - separator usedstart_index - the start index in the password for this match.end_index - the end index in the password for this match.public int getDay()
int day of the match.public int getMonth()
int month of the match.public int getYear()
int year of the match.public String getSeparator()
String character between each date componentpublic String getDetails()
MatchgetDetails in interface MatchgetDetails in class BaseMatchMatch in printable String format.Copyright © 2017. All rights reserved.