コード例 #1
0
        public StockSplitInfo Double2Int(StockSplitInfoView split)
        {
            if (split == null)
                return null;

            StockSplitInfo field = new StockSplitInfo();

            field.CashDividend = split.CashDividend;
            field.StockDividend = split.StockDividend;
            field.RightsOffering = split.RightsOffering;
            field.RightsOfferingPrice = split.RightsOfferingPrice;
            field.PreClose = split.PreClose;
            //field.AdjustingFactor = split.AdjustingFactor;

            return field;
        }
コード例 #2
0
        public StockSplitInfoView Int2Double(StockSplitInfo split)
        {
            if (split == null)
                return null;

            StockSplitInfoView field = new StockSplitInfoView();

            field.CashDividend = split.CashDividend;
            field.StockDividend = split.StockDividend;
            field.RightsOffering = split.RightsOffering;
            field.RightsOfferingPrice = split.RightsOfferingPrice;
            field.PreClose = split.PreClose;
            field.AdjustingFactor = split.AdjustingFactor;

            return field;
        }
コード例 #3
0
        public StockSplitInfo Double2Int(StockSplitInfoView split)
        {
            if (split == null)
            {
                return(null);
            }

            var field = new StockSplitInfo();

            field.CashDividend        = split.CashDividend;
            field.StockDividend       = split.StockDividend;
            field.RightsOffering      = split.RightsOffering;
            field.RightsOfferingPrice = split.RightsOfferingPrice;
            field.PreClose            = split.PreClose;
            //field.AdjustingFactor = split.AdjustingFactor;

            return(field);
        }