Exemplo n.º 1
0
 public DateTimeType(string name, System.Type type, Net.Vpc.Upa.Types.DateTime min, Net.Vpc.Upa.Types.DateTime max, bool nullable)  : base(name, type == null ? typeof(Net.Vpc.Upa.Types.DateTime) : type, 0, 0, nullable)
 {
     if (type != null && !type.Equals(typeof(Net.Vpc.Upa.Types.DateTime)) && !type.Equals(typeof(Net.Vpc.Upa.Types.Temporal)) && !type.Equals(typeof(Net.Vpc.Upa.Types.Timestamp)))
     {
         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)));
 }
Exemplo n.º 2
0
 public virtual void SetMax(Net.Vpc.Upa.Types.DateTime newMax)
 {
     max = newMax;
 }
Exemplo n.º 3
0
 public virtual void SetMin(Net.Vpc.Upa.Types.DateTime newMin)
 {
     min = newMin;
 }
Exemplo n.º 4
0
 public virtual void SetLockDate(Net.Vpc.Upa.Types.DateTime lockDate)
 {
     this.lockDate = lockDate;
 }