Ejemplo n.º 1
0
        public void TestOneDay()
        {
            var ei = new EarnedInterest(
                m_oDB,
                EarnedInterest.WorkingMode.ForPeriod,
                false,
                new DateTime(2014, 8, 23, 0, 0, 0, DateTimeKind.Utc),
                new DateTime(2014, 8, 24, 0, 0, 0, DateTimeKind.Utc),
                m_oLog
                );

            ei.VerboseLogging = true;

            ei.Run();
        } // TestOneDay
Ejemplo n.º 2
0
        public void TestLifeTime()
        {
            var ei = new EarnedInterest(
                m_oDB,
                EarnedInterest.WorkingMode.ForPeriod,
                false,
                new DateTime(2012, 9, 1, 0, 0, 0, DateTimeKind.Utc),
                DateTime.UtcNow,
                m_oLog
                );

            ei.VerboseLogging = true;

            ei.Run();
        }         // TestLifeTime
Ejemplo n.º 3
0
        private static void TestEarnedInterest(AConnection oDB, ASafeLog log)
        {
            var ea = new EarnedInterest(
                oDB,
                EarnedInterest.WorkingMode.ByIssuedLoans,
                false,
                new DateTime(2012, 9, 1),
                new DateTime(2018, 3, 8),
                log
                )
            {
                VerboseLogging = true
            };

            ea.Run();
        }