mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
[refactoring][minor] Replaced all tabs with four spaces.
This commit is contained in:
parent
e646e4768d
commit
239a4fb100
2891 changed files with 79411 additions and 79411 deletions
|
|
@ -41,20 +41,20 @@ import mage.sets.Sets;
|
|||
*/
|
||||
public class Extended extends Constructed {
|
||||
|
||||
public Extended() {
|
||||
super("Constructed - Extended");
|
||||
GregorianCalendar current = new GregorianCalendar();
|
||||
GregorianCalendar cutoff;
|
||||
if (current.get(Calendar.MONTH) > 9) {
|
||||
cutoff = new GregorianCalendar(current.get(Calendar.YEAR) - 3, Calendar.SEPTEMBER, 1);
|
||||
}
|
||||
else {
|
||||
cutoff = new GregorianCalendar(current.get(Calendar.YEAR) - 4, Calendar.SEPTEMBER, 1);
|
||||
}
|
||||
for (ExpansionSet set: Sets.getInstance().values()) {
|
||||
if (set.getReleaseDate().after(cutoff.getTime()) && set.getSetType() != SetType.REPRINT) {
|
||||
setCodes.add(set.getCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
public Extended() {
|
||||
super("Constructed - Extended");
|
||||
GregorianCalendar current = new GregorianCalendar();
|
||||
GregorianCalendar cutoff;
|
||||
if (current.get(Calendar.MONTH) > 9) {
|
||||
cutoff = new GregorianCalendar(current.get(Calendar.YEAR) - 3, Calendar.SEPTEMBER, 1);
|
||||
}
|
||||
else {
|
||||
cutoff = new GregorianCalendar(current.get(Calendar.YEAR) - 4, Calendar.SEPTEMBER, 1);
|
||||
}
|
||||
for (ExpansionSet set: Sets.getInstance().values()) {
|
||||
if (set.getReleaseDate().after(cutoff.getTime()) && set.getSetType() != SetType.REPRINT) {
|
||||
setCodes.add(set.getCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue