Package com.asakusafw.runtime.value

Examples of com.asakusafw.runtime.value.StringOption.modify()


        testField(list, "getCVcharOption", DATA.BOOL_FALSE, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here


        testField(list, "getCVcharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));

        // C_DATETIMEのテスト
View Full Code Here

        testField(list, "getCVcharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));

        // C_DATETIMEのテスト
        DateTimeOption dateTimeOption = new DateTimeOption();
View Full Code Here

        testField(list, "getCVcharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));

        // C_DATETIMEのテスト
        DateTimeOption dateTimeOption = new DateTimeOption();
        DateTime dateTime = new DateTime();
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCVcharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));

        // C_DATETIMEのテスト
        DateTimeOption dateTimeOption = new DateTimeOption();
        DateTime dateTime = new DateTime();
        dateTimeOption.setNull();
View Full Code Here

        default:
            String msg = createCellTypeMismatchExceptionMsg(cell, "文字列");
            throw new CellTypeMismatchException(msg);
        }
        StringOption stringOption = new StringOption();
        stringOption.modify(str);
        return stringOption;
    }

    /**
     * セルからDecimalOptionを取得する。
 
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.