Package com.clarkparsia.pellet.datatypes.types.datetime

Examples of com.clarkparsia.pellet.datatypes.types.datetime.RestrictedTimelineDatatype.intersect()


        DatatypeConstants.DATETIME, false );

    assertTrue( dr.contains( dateTime( "2009-01-01T12:00:00Z" ) ) );
    assertTrue( dr.contains( dateTime( "2006-06-01T06:14:23" ) ) );

    dr = dr.intersect( new RestrictedTimelineDatatype( dt, DatatypeConstants.DATETIME, true ),
        true );

    assertFalse( dr.contains( dateTime( "2009-01-01T12:00:00Z" ) ) );
    assertTrue( dr.contains( dateTime( "2006-06-01T06:14:23" ) ) );
  }
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.