public MonthType(string name, System.Type type, Net.Vpc.Upa.Types.Month min, Net.Vpc.Upa.Types.Month max, bool nullable) : base(name, type == null ? typeof(Net.Vpc.Upa.Types.Month) : type, 0, 0, nullable) { if (type != null && !type.Equals(typeof(Net.Vpc.Upa.Types.Month)) && !type.Equals(typeof(Net.Vpc.Upa.Types.Temporal))) { throw new Net.Vpc.Upa.Exceptions.IllegalArgumentException("Invalid Temporal Type " + type); } this.min = min; this.max = max; SetDefaultNonNullValue(Convert(new Net.Vpc.Upa.Types.DateTime(0))); }
public virtual void SetMax(Net.Vpc.Upa.Types.Month newMax) { max = newMax; }
public virtual void SetMin(Net.Vpc.Upa.Types.Month newMin) { min = newMin; }