public override UDN GetUDN()
        {
            UDN result;

            if (fDateFrom.StringValue != "" && fDateTo.StringValue == "")
            {
                result = UDN.CreateAfter(fDateFrom.GetUDN());
            }
            else if (fDateFrom.StringValue == "" && fDateTo.StringValue != "")
            {
                result = UDN.CreateBefore(fDateTo.GetUDN());
            }
            else if (fDateFrom.StringValue != "" && fDateTo.StringValue != "")
            {
                result = UDN.CreateBetween(fDateFrom.GetUDN(), fDateTo.GetUDN());
            }
            else
            {
                result = UDN.CreateEmpty();
            }

            return(result);
        }
        public static UDN GetUDNByFormattedStr(string dateStr, bool aException = false)
        {
            GDMDate dtx = GDMDate.CreateByFormattedStr(dateStr, aException);

            return((dtx != null) ? dtx.GetUDN() : UDN.CreateEmpty());
        }