    @Test
    public void testGetDateBefore() {

        
        DateTime dt = new DateTime(2015, 1, 1, 1, 1);
        Date expected = dt.minusHours(1).minusMinutes(5).toDate();
        
        Date result = DateUtils.getDateBeforePeriod("1s5d", dt.toDate());
        Assert.assertEquals(expected, result);
        
        //Ingilizce
        result = DateUtils.getDateBeforePeriod("1h5M", dt.toDate());
        Assert.assertEquals(expected, result);
        
    }