@@ -0,0 +1,3325 @@
+/*%0A * Copyright (c) 2012, Stephen Colebourne & Michael Nascimento Santos%0A *%0A * All rights reserved.%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted provided that the following conditions are met:%0A *%0A *  * Redistributions of source code must retain the above copyright notice,%0A *    this list of conditions and the following disclaimer.%0A *%0A *  * Redistributions in binary form must reproduce the above copyright notice,%0A *    this list of conditions and the following disclaimer in the documentation%0A *    and/or other materials provided with the distribution.%0A *%0A *  * Neither the name of JSR-310 nor the names of its contributors%0A *    may be used to endorse or promote products derived from this software%0A *    without specific prior written permission.%0A *%0A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A * %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR%0A * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,%0A * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,%0A * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR%0A * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF%0A * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING%0A * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS%0A * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A */%0Apackage javax.time.builder;%0A%0Aimport javax.time.DayOfWeek;%0Aimport javax.time.LocalDate;%0Aimport javax.time.calendrical.DateAdjusters;%0Aimport javax.time.i18n.CopticDate;%0A%0A/**%0A * Usability class for package.%0A */%0Apublic final class Usability %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        oldPackage();%0A        System.out.println(%22------%22);%0A        newPackage();%0A    %7D%0A%0A    protected static void oldPackage() %7B%0A        CopticDate view = CopticDate.of(LocalDate.now());%0A        System.out.println(view);%0A        %0A        view = view.withDayOfMonth(1);%0A        System.out.println(view);%0A        %0A        int month = view.getMonthOfYear();%0A        view = CopticDate.of(view.toLocalDate().with(DateAdjusters.previousOrCurrent(DayOfWeek.MONDAY)));%0A        System.out.println(view);%0A        %0A        while (view.getMonthOfYear() %3C= month) %7B%0A            String row = %22%22;%0A            for (int i = 0; i %3C 7; i++) %7B%0A                row += view.getDayOfMonth() + %22 %22;%0A                view = view.plusDays(1);%0A            %7D%0A            System.out.println(row);%0A        %7D%0A    %7D%0A%0A    protected static void newPackage() %7B%0A        DateChronoView%3C?%3E view = DateChronoView.now(CopticChrono.INSTANCE);%0A        System.out.println(view);%0A        %0A        view = view.withDayOfMonth(1);%0A        System.out.println(view);%0A        %0A        int month = view.getMonthOfYear();%0A        view = view.withDayOfWeek(1);%0A        System.out.println(view);%0A        %0A        while (view.getMonthOfYear() %3C= month) %7B%0A            String row = %22%22;%0A            for (int i = 0; i %3C 7; i++) %7B%0A                row += view.getDayOfMonth() + %22 %22;%0A                view = view.plusDays(1);%0A            %7D%0A            System.out.println(row);%0A        %7D%0A    %7D%0A%0A%7D%0A

Add test of usability