* Added method to set release date with natural month.

This commit is contained in:
LevelX2 2016-10-13 02:06:51 +02:00
parent 8765f6ec45
commit c5bb536b46
185 changed files with 278 additions and 349 deletions

View file

@ -35,7 +35,6 @@ import mage.cards.repository.CardCriteria;
import mage.cards.repository.CardInfo;
import mage.cards.repository.CardRepository;
import mage.constants.SetType;
import mage.constants.Rarity;
/**
*
@ -52,7 +51,7 @@ public class AetherRevolt extends ExpansionSet {
protected final List<CardInfo> savedSpecialLand = new ArrayList<>();
private AetherRevolt() {
super("Aether Revolt", "AER", "mage.sets.aetherrevolt", new GregorianCalendar(2017, 1, 20).getTime(), SetType.EXPANSION);
super("Aether Revolt", "AER", "mage.sets.aetherrevolt", buildDate(2017, 1, 20), SetType.EXPANSION);
this.blockName = "Kaladesh";
this.hasBoosters = true;
this.hasBasicLands = false;

View file

@ -49,7 +49,7 @@ public class AjaniVsNicolBolas extends ExpansionSet {
}
private AjaniVsNicolBolas() {
super("Duel Decks: Ajani vs. Nicol Bolas", "DDH", "mage.sets.ajanivsnicolbolas", new GregorianCalendar(2011, 9, 2).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Ajani vs. Nicol Bolas", "DDH", "mage.sets.ajanivsnicolbolas", ExpansionSet.buildDate(2011, 9, 2), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Ageless Entity", 18, Rarity.RARE, mage.cards.a.AgelessEntity.class));

View file

@ -45,7 +45,7 @@ public class AlaraReborn extends ExpansionSet {
}
private AlaraReborn() {
super("Alara Reborn", "ARB", "mage.sets.alarareborn", new GregorianCalendar(2009, 3, 25).getTime(), SetType.EXPANSION);
super("Alara Reborn", "ARB", "mage.sets.alarareborn", ExpansionSet.buildDate(2009, 3, 25), SetType.EXPANSION);
this.blockName = "Shards of Alara";
this.parentSet = ShardsOfAlara.getInstance();
this.hasBasicLands = false;

View file

@ -18,7 +18,7 @@ public class Alliances extends ExpansionSet {
}
private Alliances() {
super("Alliances", "ALL", "mage.sets.alliances", new GregorianCalendar(1996, 6, 10).getTime(), SetType.EXPANSION);
super("Alliances", "ALL", "mage.sets.alliances", ExpansionSet.buildDate(1996, 6, 10), SetType.EXPANSION);
this.blockName = "Ice Age";
this.parentSet = IceAge.getInstance();
this.hasBasicLands = false;

View file

@ -46,7 +46,7 @@ public class Amonkhet extends ExpansionSet {
}
private Amonkhet() {
super("Amonkhet", "AKH", "mage.sets.amonkhet", new GregorianCalendar(2017, 4, 28).getTime(), SetType.EXPANSION);
super("Amonkhet", "AKH", "mage.sets.amonkhet", ExpansionSet.buildDate(2017, 4, 28), SetType.EXPANSION);
this.blockName = "Amonkhet";
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -27,20 +27,17 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.ObjectColor;
import mage.cards.CardGraphicInfo;
import mage.cards.FrameStyle;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class AnthologyDivineVsDemonic extends ExpansionSet {
private static final AnthologyDivineVsDemonic fINSTANCE = new AnthologyDivineVsDemonic();
public static AnthologyDivineVsDemonic getInstance() {
@ -48,7 +45,7 @@ public class AnthologyDivineVsDemonic extends ExpansionSet {
}
private AnthologyDivineVsDemonic() {
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3DVD", "mage.sets.anthologydivinevsdemonic", new GregorianCalendar(2014, 12, 5).getTime(),
super("Duel Decks: Anthology, Divine vs. Demonic", "DD3DVD", "mage.sets.anthologydivinevsdemonic", ExpansionSet.buildDate(2014, 12, 5),
SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks: Anthology";
this.hasBasicLands = false;

View file

@ -27,20 +27,17 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.ObjectColor;
import mage.cards.CardGraphicInfo;
import mage.cards.FrameStyle;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class AnthologyElvesVsGoblins extends ExpansionSet {
private static final AnthologyElvesVsGoblins fINSTANCE = new AnthologyElvesVsGoblins();
public static AnthologyElvesVsGoblins getInstance() {
@ -48,7 +45,7 @@ public class AnthologyElvesVsGoblins extends ExpansionSet {
}
private AnthologyElvesVsGoblins() {
super("Duel Decks: Anthology, Elves vs. Goblins", "DD3EVG", "mage.sets.anthologyelvesvsgoblins", new GregorianCalendar(2014, 12, 5).getTime(),
super("Duel Decks: Anthology, Elves vs. Goblins", "DD3EVG", "mage.sets.anthologyelvesvsgoblins", ExpansionSet.buildDate(2014, 12, 5),
SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks: Anthology";
this.hasBasicLands = false;

View file

@ -27,20 +27,17 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.ObjectColor;
import mage.cards.CardGraphicInfo;
import mage.cards.FrameStyle;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class AnthologyGarrukVsLiliana extends ExpansionSet {
private static final AnthologyGarrukVsLiliana fINSTANCE = new AnthologyGarrukVsLiliana();
public static AnthologyGarrukVsLiliana getInstance() {
@ -48,7 +45,7 @@ public class AnthologyGarrukVsLiliana extends ExpansionSet {
}
private AnthologyGarrukVsLiliana() {
super("Duel Decks: Anthology, Garruk vs. Liliana", "DD3GVL", "mage.sets.anthologygarrukvsliliana", new GregorianCalendar(2014, 12, 5).getTime(),
super("Duel Decks: Anthology, Garruk vs. Liliana", "DD3GVL", "mage.sets.anthologygarrukvsliliana", ExpansionSet.buildDate(2014, 12, 5),
SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks: Anthology";
this.hasBasicLands = false;

View file

@ -27,20 +27,17 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.ObjectColor;
import mage.cards.CardGraphicInfo;
import mage.cards.FrameStyle;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class AnthologyJaceVsChandra extends ExpansionSet {
private static final AnthologyJaceVsChandra fINSTANCE = new AnthologyJaceVsChandra();
public static AnthologyJaceVsChandra getInstance() {
@ -48,7 +45,7 @@ public class AnthologyJaceVsChandra extends ExpansionSet {
}
private AnthologyJaceVsChandra() {
super("Duel Decks: Anthology, Jace vs. Chandra", "DD3JVC", "mage.sets.anthologyjacevschandra", new GregorianCalendar(2014, 12, 5).getTime(),
super("Duel Decks: Anthology, Jace vs. Chandra", "DD3JVC", "mage.sets.anthologyjacevschandra", ExpansionSet.buildDate(2014, 12, 5),
SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks: Anthology";
this.hasBasicLands = false;

View file

@ -50,7 +50,7 @@ public class Antiquities extends ExpansionSet {
}
private Antiquities() {
super("Antiquities", "ATQ", "mage.sets.antiquities", new GregorianCalendar(1994, 2, 1).getTime(), SetType.EXPANSION);
super("Antiquities", "ATQ", "mage.sets.antiquities", ExpansionSet.buildDate(1994, 2, 1), SetType.EXPANSION);
this.hasBasicLands = false;
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -15,7 +15,7 @@ public class Apocalypse extends ExpansionSet {
}
private Apocalypse() {
super("Apocalypse", "APC", "mage.sets.apocalypse", new GregorianCalendar(2001, 5, 1).getTime(), SetType.EXPANSION);
super("Apocalypse", "APC", "mage.sets.apocalypse", ExpansionSet.buildDate(2001, 5, 1), SetType.EXPANSION);
this.blockName = "Invasion";
this.parentSet = Invasion.getInstance();
this.hasBasicLands = false;

View file

@ -50,7 +50,7 @@ public class ArabianNights extends ExpansionSet {
}
private ArabianNights() {
super("Arabian Nights", "ARN", "mage.sets.arabiannights", new GregorianCalendar(1993, 11, 1).getTime(), SetType.EXPANSION);
super("Arabian Nights", "ARN", "mage.sets.arabiannights", ExpansionSet.buildDate(1993, 11, 1), SetType.EXPANSION);
this.hasBasicLands = false;
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -50,7 +50,7 @@ public class Archenemy extends ExpansionSet {
}
private Archenemy() {
super("Archenemy", "ARC", "mage.sets.archenemy", new GregorianCalendar(2010, 6, 18).getTime(), SetType.SUPPLEMENTAL);
super("Archenemy", "ARC", "mage.sets.archenemy", ExpansionSet.buildDate(2010, 6, 18), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Aether Spellbomb", 102, Rarity.COMMON, mage.cards.a.AetherSpellbomb.class));
cards.add(new SetCardInfo("Agony Warp", 76, Rarity.COMMON, mage.cards.a.AgonyWarp.class));

View file

@ -47,7 +47,7 @@ public class ArchenemyNicolBolas extends ExpansionSet {
}
private ArchenemyNicolBolas() {
super("Archenemy: Nicol Bolas", "ANB", "mage.sets.archenemynicolbolas", new GregorianCalendar(2017, 6, 16).getTime(), SetType.SUPPLEMENTAL);
super("Archenemy: Nicol Bolas", "ANB", "mage.sets.archenemynicolbolas", ExpansionSet.buildDate(2017, 6, 16), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
}

View file

@ -50,7 +50,7 @@ public class ArenaLeague extends ExpansionSet {
}
private ArenaLeague() {
super("Arena League", "ARENA", "mage.sets.arenaleague", new GregorianCalendar(1996, 7, 4).getTime(), SetType.PROMOTIONAL);
super("Arena League", "ARENA", "mage.sets.arenaleague", ExpansionSet.buildDate(1996, 7, 4), SetType.PROMOTIONAL);
this.hasBoosters = false;
cards.add(new SetCardInfo("Arc Lightning", 42, Rarity.COMMON, mage.cards.a.ArcLightning.class));
cards.add(new SetCardInfo("Bonesplitter", 52, Rarity.COMMON, mage.cards.b.Bonesplitter.class));

View file

@ -50,7 +50,7 @@ public class AsiaPacificLandProgram extends ExpansionSet {
}
private AsiaPacificLandProgram() {
super("Asia Pacific Land Program", "APAC", "mage.sets.asiapacificlandprogram", new GregorianCalendar(1997, 10, 13).getTime(), SetType.PROMOTIONAL);
super("Asia Pacific Land Program", "APAC", "mage.sets.asiapacificlandprogram", ExpansionSet.buildDate(1997, 10, 13), SetType.PROMOTIONAL);
this.hasBoosters = false;
cards.add(new SetCardInfo("Forest", 1, Rarity.LAND, mage.cards.basiclands.Forest.class, new CardGraphicInfo(null, true)));
cards.add(new SetCardInfo("Forest", 6, Rarity.LAND, mage.cards.basiclands.Forest.class, new CardGraphicInfo(null, true)));

View file

@ -49,7 +49,7 @@ public class AvacynRestored extends ExpansionSet {
}
private AvacynRestored() {
super("Avacyn Restored", "AVR", "mage.sets.avacynrestored", new GregorianCalendar(2012, 4, 4).getTime(), SetType.EXPANSION);
super("Avacyn Restored", "AVR", "mage.sets.avacynrestored", ExpansionSet.buildDate(2012, 4, 4), SetType.EXPANSION);
this.blockName = "Innistrad";
this.parentSet = Innistrad.getInstance();
this.hasBoosters = true;

View file

@ -55,7 +55,7 @@ public class BattleForZendikar extends ExpansionSet {
protected final List<CardInfo> savedSpecialLand = new ArrayList<>();
private BattleForZendikar() {
super("Battle for Zendikar", "BFZ", "mage.sets.battleforzendikar", new GregorianCalendar(2015, 10, 2).getTime(), SetType.EXPANSION);
super("Battle for Zendikar", "BFZ", "mage.sets.battleforzendikar", ExpansionSet.buildDate(2015, 10, 2), SetType.EXPANSION);
this.blockName = "Battle for Zendikar";
this.hasBoosters = true;
this.hasBasicLands = true;

View file

@ -46,7 +46,7 @@ public class BetrayersOfKamigawa extends ExpansionSet {
}
private BetrayersOfKamigawa() {
super("Betrayers of Kamigawa", "BOK", "mage.sets.betrayersofkamigawa", new GregorianCalendar(2005, 1, 4).getTime(), SetType.EXPANSION);
super("Betrayers of Kamigawa", "BOK", "mage.sets.betrayersofkamigawa", ExpansionSet.buildDate(2005, 1, 4), SetType.EXPANSION);
this.blockName = "Kamigawa";
this.parentSet = ChampionsOfKamigawa.getInstance();
this.hasBasicLands = false;

View file

@ -48,7 +48,7 @@ public class BlessedVsCursed extends ExpansionSet {
}
private BlessedVsCursed() {
super("Duel Decks: Blessed vs. Cursed", "DDQ", "mage.sets.blessedvscursed", new GregorianCalendar(2016, 2, 26).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Blessed vs. Cursed", "DDQ", "mage.sets.blessedvscursed", ExpansionSet.buildDate(2016, 2, 26), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Abattoir Ghoul", 50, Rarity.UNCOMMON, mage.cards.a.AbattoirGhoul.class));

View file

@ -47,7 +47,7 @@ public class BornOfTheGods extends ExpansionSet {
}
private BornOfTheGods() {
super("Born of the Gods", "BNG", "mage.sets.bornofthegods", new GregorianCalendar(2014, 2, 7).getTime(), SetType.EXPANSION);
super("Born of the Gods", "BNG", "mage.sets.bornofthegods", ExpansionSet.buildDate(2014, 2, 7), SetType.EXPANSION);
this.blockName = "Theros";
this.parentSet = Theros.getInstance();
this.hasBasicLands = false;

View file

@ -17,7 +17,7 @@ public class ChampionsOfKamigawa extends ExpansionSet {
}
private ChampionsOfKamigawa() {
super("Champions of Kamigawa", "CHK", "mage.sets.championsofkamigawa", new GregorianCalendar(2004, 9, 1).getTime(), SetType.EXPANSION);
super("Champions of Kamigawa", "CHK", "mage.sets.championsofkamigawa", ExpansionSet.buildDate(2004, 9, 1), SetType.EXPANSION);
this.blockName = "Kamigawa";
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -47,7 +47,7 @@ public class Champs extends ExpansionSet {
}
private Champs() {
super("Champs", "CP", "mage.sets.champs", new GregorianCalendar(2006, 3, 18).getTime(), SetType.PROMOTIONAL);
super("Champs", "CP", "mage.sets.champs", ExpansionSet.buildDate(2006, 3, 18), SetType.PROMOTIONAL);
this.hasBoosters = false;
cards.add(new SetCardInfo("Blood Knight", 7, Rarity.SPECIAL, mage.cards.b.BloodKnight.class));
cards.add(new SetCardInfo("Bramblewood Paragon", 11, Rarity.SPECIAL, mage.cards.b.BramblewoodParagon.class));

View file

@ -49,7 +49,7 @@ public class Chronicles extends ExpansionSet {
}
private Chronicles() {
super("Chronicles", "CHR", "mage.sets.chronicles", new GregorianCalendar(1995, 6, 1).getTime(), SetType.SUPPLEMENTAL);
super("Chronicles", "CHR", "mage.sets.chronicles", ExpansionSet.buildDate(1995, 6, 1), SetType.SUPPLEMENTAL);
this.blockName = "Reprint";
this.hasBasicLands = false;
this.hasBoosters = true;

View file

@ -46,7 +46,7 @@ public class ClashPack extends ExpansionSet {
}
private ClashPack() {
super("Clash Pack", "CLASH", "mage.sets.clashpack", new GregorianCalendar(2014, 7, 18).getTime(), SetType.SUPPLEMENTAL);
super("Clash Pack", "CLASH", "mage.sets.clashpack", ExpansionSet.buildDate(2014, 7, 18), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Courser of Kruphix", 12, Rarity.SPECIAL, mage.cards.c.CourserOfKruphix.class));
cards.add(new SetCardInfo("Fated Intervention", 2, Rarity.SPECIAL, mage.cards.f.FatedIntervention.class));

View file

@ -49,7 +49,7 @@ public class ClassicSixthEdition extends ExpansionSet {
}
private ClassicSixthEdition() {
super("Classic Sixth Edition", "6ED", "mage.sets.classicsixthedition", new GregorianCalendar(1999, 3, 28).getTime(), SetType.CORE);
super("Classic Sixth Edition", "6ED", "mage.sets.classicsixthedition", ExpansionSet.buildDate(1999, 3, 28), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 0;
this.numBoosterCommon = 11;

View file

@ -47,7 +47,7 @@ public class Coldsnap extends ExpansionSet {
}
private Coldsnap() {
super("Coldsnap", "CSP", "mage.sets.coldsnap", new GregorianCalendar(2006, 6, 21).getTime(), SetType.EXPANSION);
super("Coldsnap", "CSP", "mage.sets.coldsnap", ExpansionSet.buildDate(2006, 6, 21), SetType.EXPANSION);
this.blockName = "Ice Age";
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -51,7 +51,7 @@ public class Commander extends ExpansionSet {
}
private Commander() {
super("Commander", "CMD", "mage.sets.commander", new GregorianCalendar(2011, 6, 17).getTime(), SetType.SUPPLEMENTAL);
super("Commander", "CMD", "mage.sets.commander", ExpansionSet.buildDate(2011, 6, 17), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Acidic Slime", 140, Rarity.UNCOMMON, mage.cards.a.AcidicSlime.class));
cards.add(new SetCardInfo("Acorn Catapult", 241, Rarity.RARE, mage.cards.a.AcornCatapult.class));

View file

@ -51,7 +51,7 @@ public class Commander2013 extends ExpansionSet {
}
private Commander2013() {
super("Commander 2013 Edition", "C13", "mage.sets.commander2013", new GregorianCalendar(2013, 11, 01).getTime(), SetType.SUPPLEMENTAL);
super("Commander 2013 Edition", "C13", "mage.sets.commander2013", ExpansionSet.buildDate(2013, 11, 01), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Acidic Slime", 134, Rarity.UNCOMMON, mage.cards.a.AcidicSlime.class));
cards.add(new SetCardInfo("Act of Authority", 1, Rarity.RARE, mage.cards.a.ActOfAuthority.class));

View file

@ -50,7 +50,7 @@ public class Commander2014 extends ExpansionSet {
}
private Commander2014() {
super("Commander 2014 Edition", "C14", "mage.sets.commander2014", new GregorianCalendar(2014, 11, 07).getTime(), SetType.SUPPLEMENTAL);
super("Commander 2014 Edition", "C14", "mage.sets.commander2014", ExpansionSet.buildDate(2014, 11, 07), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Abyssal Persecutor", 132, Rarity.MYTHIC, mage.cards.a.AbyssalPersecutor.class));
cards.add(new SetCardInfo("Adarkar Valkyrie", 63, Rarity.RARE, mage.cards.a.AdarkarValkyrie.class));

View file

@ -50,7 +50,7 @@ public class Commander2015 extends ExpansionSet {
}
private Commander2015() {
super("Commander 2015 Edition", "C15", "mage.sets.commander2015", new GregorianCalendar(2015, 11, 13).getTime(), SetType.SUPPLEMENTAL);
super("Commander 2015 Edition", "C15", "mage.sets.commander2015", ExpansionSet.buildDate(2015, 11, 13), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Acidic Slime", 173, Rarity.UNCOMMON, mage.cards.a.AcidicSlime.class));
cards.add(new SetCardInfo("Act of Aggression", 141, Rarity.UNCOMMON, mage.cards.a.ActOfAggression.class));

View file

@ -47,7 +47,7 @@ public class Commander2016 extends ExpansionSet {
}
private Commander2016() {
super("Commander 2016 Edition", "C16", "mage.sets.commander2016", new GregorianCalendar(2016, 11, 11).getTime(), SetType.SUPPLEMENTAL);
super("Commander 2016 Edition", "C16", "mage.sets.commander2016", ExpansionSet.buildDate(2016, 11, 11), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
}

View file

@ -45,7 +45,7 @@ public class CommanderAnthology extends ExpansionSet {
}
private CommanderAnthology() {
super("Commander Anthology", "CMA2", "mage.sets.commanderanthology", new GregorianCalendar(2017, 6, 9).getTime(), SetType.SUPPLEMENTAL);
super("Commander Anthology", "CMA2", "mage.sets.commanderanthology", ExpansionSet.buildDate(2017, 6, 9), SetType.SUPPLEMENTAL);
this.blockName = "Commander Anthology";
this.hasBasicLands = false;
}

View file

@ -47,7 +47,7 @@ public class CommandersArsenal extends ExpansionSet {
}
private CommandersArsenal() {
super("Commander's Arsenal", "CMA", "mage.sets.commandersarsenal", new GregorianCalendar(2012, 11, 2).getTime(), SetType.SUPPLEMENTAL);
super("Commander's Arsenal", "CMA", "mage.sets.commandersarsenal", ExpansionSet.buildDate(2012, 11, 2), SetType.SUPPLEMENTAL);
this.blockName = "Command Zone";
cards.add(new SetCardInfo("Chaos Warp", 1, Rarity.SPECIAL, mage.cards.c.ChaosWarp.class));
cards.add(new SetCardInfo("Command Tower", 2, Rarity.COMMON, mage.cards.c.CommandTower.class));

View file

@ -47,7 +47,7 @@ public class Conflux extends ExpansionSet {
}
private Conflux() {
super("Conflux", "CON", "mage.sets.conflux", new GregorianCalendar(2009, 0, 31).getTime(), SetType.EXPANSION);
super("Conflux", "CON", "mage.sets.conflux", ExpansionSet.buildDate(2009, 0, 31), SetType.EXPANSION);
this.blockName = "Shards of Alara";
this.parentSet = ShardsOfAlara.getInstance();
this.hasBasicLands = false;

View file

@ -48,7 +48,7 @@ public class Conspiracy extends ExpansionSet {
}
private Conspiracy() {
super("Conspiracy", "CNS", "mage.sets.conspiracy", new GregorianCalendar(2014, 6, 6).getTime(), SetType.SUPPLEMENTAL);
super("Conspiracy", "CNS", "mage.sets.conspiracy", ExpansionSet.buildDate(2014, 6, 6), SetType.SUPPLEMENTAL);
this.blockName = "Conspiracy";
this.hasBasicLands = false;
this.hasBoosters = true;

View file

@ -48,7 +48,7 @@ public class ConspiracyTakeTheCrown extends ExpansionSet {
}
private ConspiracyTakeTheCrown() {
super("Conspiracy: Take the Crown", "CN2", "mage.sets.conspiracytakethecrown", new GregorianCalendar(2016, 8, 26).getTime(), SetType.SUPPLEMENTAL);
super("Conspiracy: Take the Crown", "CN2", "mage.sets.conspiracytakethecrown", ExpansionSet.buildDate(2016, 8, 26), SetType.SUPPLEMENTAL);
this.blockName = "Conspiracy";
this.hasBasicLands = false;
this.hasBoosters = true;

View file

@ -46,7 +46,7 @@ public class DarkAscension extends ExpansionSet {
}
private DarkAscension() {
super("Dark Ascension", "DKA", "mage.sets.darkascension", new GregorianCalendar(2012, 1, 3).getTime(), SetType.EXPANSION);
super("Dark Ascension", "DKA", "mage.sets.darkascension", ExpansionSet.buildDate(2012, 1, 3), SetType.EXPANSION);
this.blockName = "Innistrad";
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -16,7 +16,7 @@ public class Darksteel extends ExpansionSet {
}
public Darksteel() {
super("Darksteel", "DST", "mage.sets.darksteel", new GregorianCalendar(2004, 1, 6).getTime(), SetType.EXPANSION);
super("Darksteel", "DST", "mage.sets.darksteel", ExpansionSet.buildDate(2004, 1, 6), SetType.EXPANSION);
this.blockName = "Mirrodin";
this.parentSet = Mirrodin.getInstance();
this.hasBasicLands = false;

View file

@ -46,7 +46,7 @@ public class Dissension extends ExpansionSet {
}
private Dissension() {
super("Dissension", "DIS", "mage.sets.dissension", new GregorianCalendar(2006, 4, 5).getTime(), SetType.EXPANSION);
super("Dissension", "DIS", "mage.sets.dissension", ExpansionSet.buildDate(2006, 4, 5), SetType.EXPANSION);
this.blockName = "Ravnica";
this.parentSet = RavnicaCityOfGuilds.getInstance();
this.hasBasicLands = false;

View file

@ -50,7 +50,7 @@ public class DivineVsDemonic extends ExpansionSet {
}
private DivineVsDemonic() {
super("Duel Decks: Divine vs. Demonic", "DDC", "mage.sets.divinevsdemonic", new GregorianCalendar(2009, 04, 10).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Divine vs. Demonic", "DDC", "mage.sets.divinevsdemonic", ExpansionSet.buildDate(2009, 04, 10), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Abyssal Gatekeeper", 31, Rarity.COMMON, mage.cards.a.AbyssalGatekeeper.class));

View file

@ -56,7 +56,7 @@ public class DragonsMaze extends ExpansionSet {
List<CardInfo> savedSpecialRares = new ArrayList<>();
private DragonsMaze() {
super("Dragon's Maze", "DGM", "mage.sets.dragonsmaze", new GregorianCalendar(2013, 5, 03).getTime(), SetType.EXPANSION);
super("Dragon's Maze", "DGM", "mage.sets.dragonsmaze", ExpansionSet.buildDate(2013, 5, 03), SetType.EXPANSION);
this.blockName = "Return to Ravnica";
this.hasBoosters = true;
this.numBoosterSpecial = 1;

View file

@ -51,7 +51,7 @@ public class DragonsOfTarkir extends ExpansionSet {
}
private DragonsOfTarkir() {
super("Dragons of Tarkir", "DTK", "mage.sets.dragonsoftarkir", new GregorianCalendar(2015, 3, 27).getTime(), SetType.EXPANSION);
super("Dragons of Tarkir", "DTK", "mage.sets.dragonsoftarkir", ExpansionSet.buildDate(2015, 3, 27), SetType.EXPANSION);
this.blockName = "Khans of Tarkir";
this.hasBoosters = true;
this.hasBasicLands = true;

View file

@ -47,7 +47,7 @@ public class DuelsOfThePlaneswalkers extends ExpansionSet {
}
private DuelsOfThePlaneswalkers() {
super("Duels of the Planeswalkers", "DPA", "mage.sets.duelsoftheplaneswalkers", new GregorianCalendar(2010, 6, 4).getTime(), SetType.SUPPLEMENTAL);
super("Duels of the Planeswalkers", "DPA", "mage.sets.duelsoftheplaneswalkers", ExpansionSet.buildDate(2010, 6, 4), SetType.SUPPLEMENTAL);
cards.add(new SetCardInfo("The Rack", 95, Rarity.UNCOMMON, mage.cards.t.TheRack.class));
}
}

View file

@ -18,7 +18,7 @@ public class EighthEdition extends ExpansionSet {
}
private EighthEdition() {
super("Eighth Edition", "8ED", "mage.sets.eighthedition", new GregorianCalendar(2003, 7, 28).getTime(), SetType.CORE);
super("Eighth Edition", "8ED", "mage.sets.eighthedition", ExpansionSet.buildDate(2003, 7, 28), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 10;

View file

@ -27,11 +27,9 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
@ -46,7 +44,7 @@ public class EldritchMoon extends ExpansionSet {
}
private EldritchMoon() {
super("Eldritch Moon", "EMN", "mage.sets.eldritchmoon", new GregorianCalendar(2016, 7, 26).getTime(), SetType.EXPANSION);
super("Eldritch Moon", "EMN", "mage.sets.eldritchmoon", ExpansionSet.buildDate(2016, 7, 22), SetType.EXPANSION);
this.blockName = "Shadows over Innistrad";
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -48,7 +48,7 @@ public class ElspethVsKiora extends ExpansionSet {
}
private ElspethVsKiora() {
super("Duel Decks: Elspeth vs. Kiora", "DDO", "mage.sets.elspethvskiora", new GregorianCalendar(2015, 2, 27).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Elspeth vs. Kiora", "DDO", "mage.sets.elspethvskiora", ExpansionSet.buildDate(2015, 2, 27), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Accumulated Knowledge", 35, Rarity.COMMON, mage.cards.a.AccumulatedKnowledge.class));

View file

@ -18,7 +18,7 @@ public class ElspethVsTezzeret extends ExpansionSet {
}
private ElspethVsTezzeret() {
super("Duel Decks: Elspeth vs. Tezzeret", "DDF", "mage.sets.elspethvstezzeret", new GregorianCalendar(2010, 8, 3).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Elspeth vs. Tezzeret", "DDF", "mage.sets.elspethvstezzeret", ExpansionSet.buildDate(2010, 8, 3), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Abolish", 29, Rarity.UNCOMMON, mage.cards.a.Abolish.class));

View file

@ -28,7 +28,7 @@ public class ElvesVsGoblins extends ExpansionSet {
}
private ElvesVsGoblins() {
super("Duel Decks: Elves vs. Goblins", "EVG", "mage.sets.elvesvsgoblins", new GregorianCalendar(2007, 11, 16).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Elves vs. Goblins", "EVG", "mage.sets.elvesvsgoblins", ExpansionSet.buildDate(2007, 11, 16), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Akki Coalflinger", 33, Rarity.UNCOMMON, mage.cards.a.AkkiCoalflinger.class));

View file

@ -47,7 +47,7 @@ public class EternalMasters extends ExpansionSet {
}
private EternalMasters() {
super("Eternal Masters", "EMA", "mage.sets.eternalmasters", new GregorianCalendar(2016, 6, 10).getTime(), SetType.SUPPLEMENTAL);
super("Eternal Masters", "EMA", "mage.sets.eternalmasters", ExpansionSet.buildDate(2016, 6, 10), SetType.SUPPLEMENTAL);
this.blockName = "Reprint";
this.hasBasicLands = false;
this.hasBoosters = true;

View file

@ -28,19 +28,15 @@
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.ObjectColor;
import mage.cards.CardGraphicInfo;
import mage.cards.FrameStyle;
import mage.cards.ExpansionSet;
import mage.constants.Rarity;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class EuropeanLandProgram extends ExpansionSet {
private static final EuropeanLandProgram fINSTANCE = new EuropeanLandProgram();
@ -50,7 +46,7 @@ public class EuropeanLandProgram extends ExpansionSet {
}
private EuropeanLandProgram() {
super("European Land Program", "EURO", "mage.sets.europeanlandprogram", new GregorianCalendar(2000, 2, 14).getTime(), SetType.PROMOTIONAL);
super("European Land Program", "EURO", "mage.sets.europeanlandprogram", ExpansionSet.buildDate(2000, 2, 14), SetType.PROMOTIONAL);
this.hasBoosters = false;
cards.add(new SetCardInfo("Forest", 1, Rarity.LAND, mage.cards.basiclands.Forest.class, new CardGraphicInfo(null, true)));
cards.add(new SetCardInfo("Forest", 6, Rarity.LAND, mage.cards.basiclands.Forest.class, new CardGraphicInfo(null, true)));

View file

@ -15,7 +15,7 @@ public class Eventide extends ExpansionSet {
}
private Eventide() {
super("Eventide", "EVE", "mage.sets.eventide", new GregorianCalendar(2008, 6, 25).getTime(), SetType.EXPANSION);
super("Eventide", "EVE", "mage.sets.eventide", ExpansionSet.buildDate(2008, 6, 25), SetType.EXPANSION);
this.blockName = "Shadowmoor";
this.parentSet = Shadowmoor.getInstance();
this.hasBasicLands = false;

View file

@ -27,12 +27,9 @@
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
@ -47,7 +44,7 @@ public class Exodus extends ExpansionSet {
}
private Exodus() {
super("Exodus", "EXO", "mage.sets.exodus", new GregorianCalendar(1998, 5, 6).getTime(), SetType.EXPANSION);
super("Exodus", "EXO", "mage.sets.exodus", ExpansionSet.buildDate(1998, 6, 15), SetType.EXPANSION);
this.blockName = "Tempest";
this.parentSet = Tempest.getInstance();
this.hasBasicLands = false;

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVAngels extends ExpansionSet {
private static final FTVAngels fINSTANCE = new FTVAngels();
public static FTVAngels getInstance() {
@ -46,7 +45,7 @@ public class FTVAngels extends ExpansionSet {
}
private FTVAngels() {
super("From the Vault: Angels", "V15", "mage.sets.ftvangels", new GregorianCalendar(2015, 8, 21).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Angels", "V15", "mage.sets.ftvangels", ExpansionSet.buildDate(2015, 8, 21), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Akroma, Angel of Fury", 1, Rarity.MYTHIC, mage.cards.a.AkromaAngelOfFury.class));
cards.add(new SetCardInfo("Akroma, Angel of Wrath", 2, Rarity.MYTHIC, mage.cards.a.AkromaAngelOfWrath.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVAnnihilation extends ExpansionSet {
private static final FTVAnnihilation fINSTANCE = new FTVAnnihilation();
public static FTVAnnihilation getInstance() {
@ -46,7 +45,7 @@ public class FTVAnnihilation extends ExpansionSet {
}
private FTVAnnihilation() {
super("From the Vault: Annihilation", "V14", "mage.sets.ftvannihilation", new GregorianCalendar(2014, 8, 22).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Annihilation", "V14", "mage.sets.ftvannihilation", ExpansionSet.buildDate(2014, 8, 22), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Armageddon", 1, Rarity.MYTHIC, mage.cards.a.Armageddon.class));
cards.add(new SetCardInfo("Burning of Xinye", 2, Rarity.MYTHIC, mage.cards.b.BurningOfXinye.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVDragons extends ExpansionSet {
private static final FTVDragons fINSTANCE = new FTVDragons();
public static FTVDragons getInstance() {
@ -46,7 +45,7 @@ public class FTVDragons extends ExpansionSet {
}
private FTVDragons() {
super("From the Vault: Dragons", "DRB", "mage.sets.ftvdragons", new GregorianCalendar(2008, 8, 29).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Dragons", "DRB", "mage.sets.ftvdragons", ExpansionSet.buildDate(2008, 8, 29), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Bladewing the Risen", 1, Rarity.RARE, mage.cards.b.BladewingTheRisen.class));
cards.add(new SetCardInfo("Bogardan Hellkite", 2, Rarity.RARE, mage.cards.b.BogardanHellkite.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVExiled extends ExpansionSet {
private static final FTVExiled fINSTANCE = new FTVExiled();
public static FTVExiled getInstance() {
@ -46,7 +45,7 @@ public class FTVExiled extends ExpansionSet {
}
private FTVExiled() {
super("From the Vault: Exiled", "V09", "mage.sets.ftvexiled", new GregorianCalendar(2009, 8, 28).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Exiled", "V09", "mage.sets.ftvexiled", ExpansionSet.buildDate(2009, 8, 28), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Balance", 1, Rarity.MYTHIC, mage.cards.b.Balance.class));
cards.add(new SetCardInfo("Berserk", 2, Rarity.MYTHIC, mage.cards.b.Berserk.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVLegends extends ExpansionSet {
private static final FTVLegends fINSTANCE = new FTVLegends();
public static FTVLegends getInstance() {
@ -46,7 +45,7 @@ public class FTVLegends extends ExpansionSet {
}
private FTVLegends() {
super("From the Vault: Legends", "V11", "mage.sets.ftvlegends", new GregorianCalendar(2011, 8, 26).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Legends", "V11", "mage.sets.ftvlegends", ExpansionSet.buildDate(2011, 8, 26), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Cao Cao, Lord of Wei", 1, Rarity.MYTHIC, mage.cards.c.CaoCaoLordOfWei.class));
cards.add(new SetCardInfo("Captain Sisay", 2, Rarity.MYTHIC, mage.cards.c.CaptainSisay.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVLore extends ExpansionSet {
private static final FTVLore fINSTANCE = new FTVLore();
public static FTVLore getInstance() {
@ -46,7 +45,7 @@ public class FTVLore extends ExpansionSet {
}
private FTVLore() {
super("From the Vault: Lore", "V16", "mage.sets.ftvlore", new GregorianCalendar(2016, 8, 19).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Lore", "V16", "mage.sets.ftvlore", ExpansionSet.buildDate(2016, 8, 19), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Beseech the Queen", 1, Rarity.MYTHIC, mage.cards.b.BeseechTheQueen.class));
cards.add(new SetCardInfo("Cabal Ritual", 2, Rarity.MYTHIC, mage.cards.c.CabalRitual.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVRealms extends ExpansionSet {
private static final FTVRealms fINSTANCE = new FTVRealms();
public static FTVRealms getInstance() {
@ -46,7 +45,7 @@ public class FTVRealms extends ExpansionSet {
}
private FTVRealms() {
super("From the Vault: Realms", "V12", "mage.sets.ftvrealms", new GregorianCalendar(2012, 8, 31).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Realms", "V12", "mage.sets.ftvrealms", ExpansionSet.buildDate(2012, 8, 31), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Ancient Tomb", 1, Rarity.MYTHIC, mage.cards.a.AncientTomb.class));
cards.add(new SetCardInfo("Boseiju, Who Shelters All", 2, Rarity.MYTHIC, mage.cards.b.BoseijuWhoSheltersAll.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVRelics extends ExpansionSet {
private static final FTVRelics fINSTANCE = new FTVRelics();
public static FTVRelics getInstance() {
@ -46,7 +45,7 @@ public class FTVRelics extends ExpansionSet {
}
private FTVRelics() {
super("From the Vault: Relics", "V10", "mage.sets.ftvrelics", new GregorianCalendar(2010, 8, 27).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Relics", "V10", "mage.sets.ftvrelics", ExpansionSet.buildDate(2010, 8, 27), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Aether Vial", 1, Rarity.MYTHIC, mage.cards.a.AetherVial.class));
cards.add(new SetCardInfo("Black Vise", 2, Rarity.MYTHIC, mage.cards.b.BlackVise.class));

View file

@ -24,21 +24,20 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
import mage.constants.SetType;
/**
*
* @author fireshoes
*/
public class FTVTwenty extends ExpansionSet {
private static final FTVTwenty fINSTANCE = new FTVTwenty();
public static FTVTwenty getInstance() {
@ -46,7 +45,7 @@ public class FTVTwenty extends ExpansionSet {
}
private FTVTwenty() {
super("From the Vault: Twenty", "V13", "mage.sets.ftvtwenty", new GregorianCalendar(2013, 8, 23).getTime(), SetType.SUPPLEMENTAL);
super("From the Vault: Twenty", "V13", "mage.sets.ftvtwenty", ExpansionSet.buildDate(2013, 8, 23), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;
cards.add(new SetCardInfo("Akroma's Vengeance", 11, Rarity.MYTHIC, mage.cards.a.AkromasVengeance.class));
cards.add(new SetCardInfo("Chainer's Edict", 10, Rarity.MYTHIC, mage.cards.c.ChainersEdict.class));

View file

@ -50,7 +50,7 @@ public class FallenEmpires extends ExpansionSet {
}
private FallenEmpires() {
super("Fallen Empires", "FEM", "mage.sets.fallenempires", new GregorianCalendar(1994, 10, 1).getTime(), SetType.EXPANSION);
super("Fallen Empires", "FEM", "mage.sets.fallenempires", ExpansionSet.buildDate(1994, 10, 1), SetType.EXPANSION);
this.hasBasicLands = false;
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -57,7 +57,7 @@ public class FateReforged extends ExpansionSet {
}
private FateReforged() {
super("Fate Reforged", "FRF", "mage.sets.fatereforged", new GregorianCalendar(2015, 1, 23).getTime(), SetType.EXPANSION);
super("Fate Reforged", "FRF", "mage.sets.fatereforged", ExpansionSet.buildDate(2015, 1, 23), SetType.EXPANSION);
this.blockName = "Khans of Tarkir";
this.parentSet = KhansOfTarkir.getInstance();
this.hasBasicLands = false;

View file

@ -46,7 +46,7 @@ public class FifthDawn extends ExpansionSet {
}
private FifthDawn() {
super("Fifth Dawn", "5DN", "mage.sets.fifthdawn", new GregorianCalendar(2004, 5, 4).getTime(), SetType.EXPANSION);
super("Fifth Dawn", "5DN", "mage.sets.fifthdawn", ExpansionSet.buildDate(2004, 5, 4), SetType.EXPANSION);
this.blockName = "Mirrodin";
this.parentSet = Mirrodin.getInstance();
this.hasBasicLands = false;

View file

@ -18,7 +18,7 @@ public class FifthEdition extends ExpansionSet {
}
private FifthEdition() {
super("Fifth Edition", "5ED", "mage.sets.fifthedition", new GregorianCalendar(1997, 3, 1).getTime(), SetType.CORE);
super("Fifth Edition", "5ED", "mage.sets.fifthedition", ExpansionSet.buildDate(1997, 3, 1), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 0;
this.numBoosterCommon = 11;

View file

@ -50,7 +50,7 @@ public class FourthEdition extends ExpansionSet {
}
private FourthEdition() {
super("Fourth Edition", "4ED", "mage.sets.fourthedition", new GregorianCalendar(1995, 3, 1).getTime(), SetType.CORE);
super("Fourth Edition", "4ED", "mage.sets.fourthedition", ExpansionSet.buildDate(1995, 3, 1), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 0;
this.numBoosterCommon = 11;

View file

@ -47,7 +47,7 @@ public class FridayNightMagic extends ExpansionSet {
}
private FridayNightMagic() {
super("Friday Night Magic", "FNMP", "mage.sets.fridaynightmagic", new GregorianCalendar(2011, 6, 17).getTime(), SetType.PROMOTIONAL);
super("Friday Night Magic", "FNMP", "mage.sets.fridaynightmagic", ExpansionSet.buildDate(2011, 6, 17), SetType.PROMOTIONAL);
this.hasBoosters = false;
this.hasBasicLands = false;
cards.add(new SetCardInfo("Abzan Beastmaster", 180, Rarity.UNCOMMON, mage.cards.a.AbzanBeastmaster.class));

View file

@ -46,7 +46,7 @@ public class FutureSight extends ExpansionSet {
}
private FutureSight() {
super("Future Sight", "FUT", "mage.sets.futuresight", new GregorianCalendar(2007, 4, 4).getTime(), SetType.EXPANSION);
super("Future Sight", "FUT", "mage.sets.futuresight", ExpansionSet.buildDate(2007, 4, 4), SetType.EXPANSION);
this.blockName = "Time Spiral";
this.parentSet = TimeSpiral.getInstance();
this.hasBasicLands = false;

View file

@ -47,7 +47,7 @@ public class GameDay extends ExpansionSet {
}
private GameDay() {
super("Game Day", "MGDC", "mage.sets.gameday", new GregorianCalendar(2011, 6, 17).getTime(), SetType.PROMOTIONAL);
super("Game Day", "MGDC", "mage.sets.gameday", ExpansionSet.buildDate(2011, 6, 17), SetType.PROMOTIONAL);
this.hasBoosters = false;
this.hasBasicLands = false;
cards.add(new SetCardInfo("Anguished Unmaking", 52, Rarity.RARE, mage.cards.a.AnguishedUnmaking.class));

View file

@ -28,7 +28,7 @@ public class GarrukVsLiliana extends ExpansionSet {
}
private GarrukVsLiliana() {
super("Duel Decks: Garruk vs. Liliana", "DDD", "mage.sets.garrukvsliliana", new GregorianCalendar(2009, 10, 30).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Garruk vs. Liliana", "DDD", "mage.sets.garrukvsliliana", ExpansionSet.buildDate(2009, 10, 30), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Albino Troll", 3, Rarity.UNCOMMON, mage.cards.a.AlbinoTroll.class));

View file

@ -46,7 +46,7 @@ public class Gatecrash extends ExpansionSet {
}
private Gatecrash() {
super("Gatecrash", "GTC", "mage.sets.gatecrash", new GregorianCalendar(2013, 2, 1).getTime(), SetType.EXPANSION);
super("Gatecrash", "GTC", "mage.sets.gatecrash", ExpansionSet.buildDate(2013, 2, 1), SetType.EXPANSION);
this.blockName = "Return to Ravnica";
this.parentSet = ReturnToRavnica.getInstance();
this.hasBasicLands = false;

View file

@ -47,7 +47,7 @@ public class GrandPrix extends ExpansionSet {
}
private GrandPrix() {
super("Grand Prix", "GPX", "mage.sets.grandprix", new GregorianCalendar(2011, 6, 17).getTime(), SetType.PROMOTIONAL);
super("Grand Prix", "GPX", "mage.sets.grandprix", ExpansionSet.buildDate(2011, 6, 17), SetType.PROMOTIONAL);
this.hasBoosters = false;
this.hasBasicLands = false;
cards.add(new SetCardInfo("All Is Dust", 9, Rarity.MYTHIC, mage.cards.a.AllIsDust.class));

View file

@ -46,7 +46,7 @@ public class Guildpact extends ExpansionSet {
}
private Guildpact() {
super("Guildpact", "GPT", "mage.sets.guildpact", new GregorianCalendar(2006, 1, 3).getTime(), SetType.EXPANSION);
super("Guildpact", "GPT", "mage.sets.guildpact", ExpansionSet.buildDate(2006, 1, 3), SetType.EXPANSION);
this.blockName = "Ravnica";
this.parentSet = RavnicaCityOfGuilds.getInstance();
this.hasBasicLands = false;

View file

@ -15,7 +15,7 @@ public class Guru extends ExpansionSet {
}
private Guru() {
super("Guru", "GUR", "mage.sets.guru", new GregorianCalendar(1990, 1, 2).getTime(), SetType.PROMOTIONAL);
super("Guru", "GUR", "mage.sets.guru", ExpansionSet.buildDate(1990, 1, 2), SetType.PROMOTIONAL);
cards.add(new SetCardInfo("Forest", 1, Rarity.LAND, mage.cards.basiclands.Forest.class));
cards.add(new SetCardInfo("Island", 2, Rarity.LAND, mage.cards.basiclands.Island.class));
cards.add(new SetCardInfo("Mountain", 3, Rarity.LAND, mage.cards.basiclands.Mountain.class));

View file

@ -49,7 +49,7 @@ public class HeroesVsMonsters extends ExpansionSet {
}
private HeroesVsMonsters() {
super("Duel Decks: Heroes vs. Monsters", "DDL", "mage.sets.heroesvsmonsters", new GregorianCalendar(2013, 9, 6).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Heroes vs. Monsters", "DDL", "mage.sets.heroesvsmonsters", ExpansionSet.buildDate(2013, 9, 6), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Anax and Cymede", 11, Rarity.RARE, mage.cards.a.AnaxAndCymede.class));

View file

@ -50,7 +50,7 @@ public class Homelands extends ExpansionSet {
}
private Homelands() {
super("Homelands", "HML", "mage.sets.homelands", new GregorianCalendar(1995, 9, 1).getTime(), SetType.EXPANSION);
super("Homelands", "HML", "mage.sets.homelands", ExpansionSet.buildDate(1995, 9, 1), SetType.EXPANSION);
this.hasBasicLands = false;
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -24,15 +24,12 @@
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com.
*/
*/
package mage.sets;
import java.util.GregorianCalendar;
import mage.cards.ExpansionSet;
import mage.constants.SetType;
import mage.constants.Rarity;
import java.util.List;
/**
*
@ -47,7 +44,7 @@ public class HourOfDevastation extends ExpansionSet {
}
private HourOfDevastation() {
super("Hour of Devastation", "HOU", "mage.sets.hourofdevastation", new GregorianCalendar(2017, 7, 14).getTime(), SetType.EXPANSION);
super("Hour of Devastation", "HOU", "mage.sets.hourofdevastation", ExpansionSet.buildDate(2017, 7, 14), SetType.EXPANSION);
this.blockName = "Amonkhet";
this.parentSet = Amonkhet.getInstance();
this.hasBasicLands = false;

View file

@ -50,7 +50,7 @@ public class IceAge extends ExpansionSet {
}
private IceAge() {
super("Ice Age", "ICE", "mage.sets.iceage", new GregorianCalendar(1995, 5, 1).getTime(), SetType.EXPANSION);
super("Ice Age", "ICE", "mage.sets.iceage", ExpansionSet.buildDate(1995, 5, 1), SetType.EXPANSION);
this.blockName = "Ice Age";
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -50,7 +50,7 @@ public class Innistrad extends ExpansionSet {
}
private Innistrad() {
super("Innistrad", "ISD", "mage.sets.innistrad", new GregorianCalendar(2011, 9, 30).getTime(), SetType.EXPANSION);
super("Innistrad", "ISD", "mage.sets.innistrad", ExpansionSet.buildDate(2011, 9, 30), SetType.EXPANSION);
this.blockName = "Innistrad";
this.hasBoosters = true;
this.numBoosterLands = 1;

View file

@ -48,7 +48,7 @@ public class Invasion extends ExpansionSet {
}
private Invasion() {
super("Invasion", "INV", "mage.sets.invasion", new GregorianCalendar(2000, 9, 2).getTime(), SetType.EXPANSION);
super("Invasion", "INV", "mage.sets.invasion", ExpansionSet.buildDate(2000, 9, 2), SetType.EXPANSION);
this.blockName = "Invasion";
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -49,7 +49,7 @@ public class IzzetVsGolgari extends ExpansionSet {
}
private IzzetVsGolgari() {
super("Duel Decks: Izzet vs. Golgari", "DDJ", "mage.sets.izzetvsgolgari", new GregorianCalendar(2012, 9, 7).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Izzet vs. Golgari", "DDJ", "mage.sets.izzetvsgolgari", ExpansionSet.buildDate(2012, 9, 7), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Barren Moor", 78, Rarity.COMMON, mage.cards.b.BarrenMoor.class));

View file

@ -28,7 +28,7 @@ public class JaceVsChandra extends ExpansionSet {
}
private JaceVsChandra() {
super("Duel Decks: Jace vs. Chandra", "DD2", "mage.sets.jacevschandra", new GregorianCalendar(2008, 11, 07).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Jace vs. Chandra", "DD2", "mage.sets.jacevschandra", ExpansionSet.buildDate(2008, 11, 07), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Aethersnipe", 17, Rarity.COMMON, mage.cards.a.Aethersnipe.class));

View file

@ -50,7 +50,7 @@ public class JaceVsVraska extends ExpansionSet {
}
private JaceVsVraska() {
super("Duel Decks: Jace vs. Vraska", "DDM", "mage.sets.jacevsvraska", new GregorianCalendar(2014, 3, 14).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Jace vs. Vraska", "DDM", "mage.sets.jacevsvraska", ExpansionSet.buildDate(2014, 3, 14), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Acidic Slime", 64, Rarity.UNCOMMON, mage.cards.a.AcidicSlime.class));

View file

@ -47,7 +47,7 @@ public class JourneyIntoNyx extends ExpansionSet {
}
private JourneyIntoNyx() {
super("Journey into Nyx", "JOU", "mage.sets.journeyintonyx", new GregorianCalendar(2014, 5, 2).getTime(), SetType.EXPANSION);
super("Journey into Nyx", "JOU", "mage.sets.journeyintonyx", ExpansionSet.buildDate(2014, 5, 2), SetType.EXPANSION);
this.blockName = "Theros";
this.parentSet = Theros.getInstance();
this.hasBasicLands = false;

View file

@ -50,7 +50,7 @@ public class JudgePromo extends ExpansionSet {
}
private JudgePromo() {
super("Judge Promo", "JR", "mage.sets.judgepromo", new GregorianCalendar(2011, 6, 17).getTime(), SetType.PROMOTIONAL);
super("Judge Promo", "JR", "mage.sets.judgepromo", ExpansionSet.buildDate(2011, 6, 17), SetType.PROMOTIONAL);
this.hasBoosters = false;
cards.add(new SetCardInfo("Argothian Enchantress", 12, Rarity.RARE, mage.cards.a.ArgothianEnchantress.class));
cards.add(new SetCardInfo("Armageddon", 14, Rarity.RARE, mage.cards.a.Armageddon.class));

View file

@ -46,7 +46,7 @@ public class Judgment extends ExpansionSet {
}
private Judgment() {
super("Judgment", "JUD", "mage.sets.judgment", new GregorianCalendar(2002, 5, 27).getTime(), SetType.EXPANSION);
super("Judgment", "JUD", "mage.sets.judgment", ExpansionSet.buildDate(2002, 5, 27), SetType.EXPANSION);
this.blockName = "Odyssey";
this.parentSet = Odyssey.getInstance();
this.hasBasicLands = false;

View file

@ -55,7 +55,7 @@ public class Kaladesh extends ExpansionSet {
protected final List<CardInfo> savedSpecialLand = new ArrayList<>();
private Kaladesh() {
super("Kaladesh", "KLD", "mage.sets.kaladesh", new GregorianCalendar(2016, 9, 30).getTime(), SetType.EXPANSION);
super("Kaladesh", "KLD", "mage.sets.kaladesh", ExpansionSet.buildDate(2016, 9, 30), SetType.EXPANSION);
this.blockName = "Kaladesh";
this.hasBoosters = true;
this.hasBasicLands = true;

View file

@ -51,7 +51,7 @@ public class KhansOfTarkir extends ExpansionSet {
}
private KhansOfTarkir() {
super("Khans of Tarkir", "KTK", "mage.sets.khansoftarkir", new GregorianCalendar(2014, 9, 26).getTime(), SetType.EXPANSION);
super("Khans of Tarkir", "KTK", "mage.sets.khansoftarkir", ExpansionSet.buildDate(2014, 9, 26), SetType.EXPANSION);
this.blockName = "Khans of Tarkir";
this.hasBoosters = true;
this.hasBasicLands = true;

View file

@ -50,7 +50,7 @@ public class KnightsVsDragons extends ExpansionSet {
}
private KnightsVsDragons() {
super("Duel Decks: Knights vs. Dragons", "DDG", "mage.sets.knightsvsdragons", new GregorianCalendar(2011, 4, 1).getTime(), SetType.SUPPLEMENTAL);
super("Duel Decks: Knights vs. Dragons", "DDG", "mage.sets.knightsvsdragons", ExpansionSet.buildDate(2011, 4, 1), SetType.SUPPLEMENTAL);
this.blockName = "Duel Decks";
this.hasBasicLands = false;
cards.add(new SetCardInfo("Alaborn Cavalier", 18, Rarity.UNCOMMON, mage.cards.a.AlabornCavalier.class));

View file

@ -47,7 +47,7 @@ public class LaunchParty extends ExpansionSet {
}
private LaunchParty() {
super("Launch Party", "MLP", "mage.sets.launchparty", new GregorianCalendar(2011, 6, 17).getTime(), SetType.PROMOTIONAL);
super("Launch Party", "MLP", "mage.sets.launchparty", ExpansionSet.buildDate(2011, 6, 17), SetType.PROMOTIONAL);
this.hasBoosters = false;
this.hasBasicLands = false;
cards.add(new SetCardInfo("Ajani Vengeant", 4, Rarity.MYTHIC, mage.cards.a.AjaniVengeant.class));

View file

@ -47,7 +47,7 @@ public class Legends extends ExpansionSet {
}
private Legends() {
super("Legends", "LEG", "mage.sets.legends", new GregorianCalendar(1994, 5, 1).getTime(), SetType.EXPANSION);
super("Legends", "LEG", "mage.sets.legends", ExpansionSet.buildDate(1994, 5, 1), SetType.EXPANSION);
this.hasBasicLands = false;
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -46,7 +46,7 @@ public class Legions extends ExpansionSet {
}
private Legions() {
super("Legions", "LGN", "mage.sets.legions", new GregorianCalendar(2003, 0, 25).getTime(), SetType.EXPANSION);
super("Legions", "LGN", "mage.sets.legions", ExpansionSet.buildDate(2003, 0, 25), SetType.EXPANSION);
this.blockName = "Onslaught";
this.parentSet = Onslaught.getInstance();
this.hasBasicLands = false;

View file

@ -23,7 +23,7 @@ public class LimitedEditionAlpha extends ExpansionSet {
}
private LimitedEditionAlpha() {
super("Limited Edition Alpha", "LEA", "mage.sets.limitedalpha", new GregorianCalendar(1993, 7, 1).getTime(), SetType.CORE);
super("Limited Edition Alpha", "LEA", "mage.sets.limitedalpha", ExpansionSet.buildDate(1993, 7, 1), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 0;
this.numBoosterCommon = 11;

View file

@ -23,7 +23,7 @@ public class LimitedEditionBeta extends ExpansionSet {
}
private LimitedEditionBeta() {
super("Limited Edition Beta", "LEB", "mage.sets.limitedbeta", new GregorianCalendar(1993, 9, 1).getTime(), SetType.CORE);
super("Limited Edition Beta", "LEB", "mage.sets.limitedbeta", ExpansionSet.buildDate(1993, 9, 1), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 0;
this.numBoosterCommon = 11;

View file

@ -49,7 +49,7 @@ public class Lorwyn extends ExpansionSet {
}
private Lorwyn() {
super("Lorwyn", "LRW", "mage.sets.lorwyn", new GregorianCalendar(2007, 9, 12).getTime(), SetType.EXPANSION);
super("Lorwyn", "LRW", "mage.sets.lorwyn", ExpansionSet.buildDate(2007, 9, 12), SetType.EXPANSION);
this.blockName = "Lorwyn";
this.hasBoosters = true;
this.numBoosterLands = 0;

View file

@ -50,7 +50,7 @@ public class Magic2010 extends ExpansionSet {
}
private Magic2010() {
super("Magic 2010", "M10", "mage.sets.magic2010", new GregorianCalendar(2009, 6, 17).getTime(), SetType.CORE);
super("Magic 2010", "M10", "mage.sets.magic2010", ExpansionSet.buildDate(2009, 6, 17), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 10;

View file

@ -50,7 +50,7 @@ public class Magic2011 extends ExpansionSet {
}
private Magic2011() {
super("Magic 2011", "M11", "mage.sets.magic2011", new GregorianCalendar(2010, 6, 16).getTime(), SetType.CORE);
super("Magic 2011", "M11", "mage.sets.magic2011", ExpansionSet.buildDate(2010, 6, 16), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 10;

View file

@ -49,7 +49,7 @@ public class Magic2012 extends ExpansionSet {
}
private Magic2012() {
super("Magic 2012", "M12", "mage.sets.magic2012", new GregorianCalendar(2011, 6, 9).getTime(), SetType.CORE);
super("Magic 2012", "M12", "mage.sets.magic2012", ExpansionSet.buildDate(2011, 6, 9), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 10;

View file

@ -49,7 +49,7 @@ public class Magic2013 extends ExpansionSet {
}
private Magic2013() {
super("Magic 2013", "M13", "mage.sets.magic2013", new GregorianCalendar(2012, 6, 7).getTime(), SetType.CORE);
super("Magic 2013", "M13", "mage.sets.magic2013", ExpansionSet.buildDate(2012, 6, 7), SetType.CORE);
this.hasBoosters = true;
this.numBoosterLands = 1;
this.numBoosterCommon = 10;

Some files were not shown because too many files have changed in this diff Show more