Examples of Rfc1123DateMatcher


Examples of com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher

     * The value of this header as a JodaTime {@link DateTime} in UTC. If not valid, a RuntimeDateFormatException will be thrown.
     *
     * @return The DateTime object..
     */
    public DateTime asDateTime() {
        return new Rfc1123DateMatcher().getDateTime(this.getValue());
    }
View Full Code Here

Examples of com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher

     * be valid.
     *
     * @return The new matcher.
     */
    public static TypeSafeMatcher<Header> isValidDateHeader() {
        return new Rfc1123DateMatcher();
    }
View Full Code Here

Examples of com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher

     * be valid.
     *
     * @return The new matcher.
     */
    public static TypeSafeMatcher<Header> isRfc1123Compliant() {
        return new Rfc1123DateMatcher();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.