Package com.cumulocity.sdk.client.event

Examples of com.cumulocity.sdk.client.event.EventFilter


        assertThat(queryParams.keySet()).containsOnly("source","status");
    }
   
    @Test
    public void shouldEncodeParamValue() throws Exception {
        EventFilter eventFilter = new EventFilter().byFromDate(DateConverter.string2Date("2011-11-03T11:01:00.000+05:30"));
       
        Map<String, String> queryParams = eventFilter.getQueryParams();

        assertThat(queryParams.get("dateFrom")).doesNotContain(":");
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.sdk.client.event.EventFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.