Examples of Quarter


Examples of org.jfree.data.time.Quarter

        Locale saved = Locale.getDefault();
        Locale.setDefault(Locale.ITALY);
        Calendar cal = Calendar.getInstance(Locale.ITALY);
        cal.set(2006, Calendar.MARCH, 31, 23, 59, 59);
        cal.set(Calendar.MILLISECOND, 999);
        Quarter q = new Quarter(1, 2006);
        assertEquals(cal.getTime(), q.getEnd());
        Locale.setDefault(saved);
    }
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.generic.Quarter

  public Orientation determine2WayOrientation(boolean vertical)
  {
    Rectangle centerBox = getCenterFigureBox();

    // Determine the quarter from the socket's orientation
    Quarter quarter = CircleConstants.determineQuarter(angle, centerBox);

    Orientation orientation;
    if (vertical)
    {
      orientation = quarter == Quarter.NW || quarter == Quarter.NE ? Orientation.TOP : Orientation.BOTTOM;
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.