Package pt.opensoft.util

Examples of pt.opensoft.util.Timestamp


                if (value.length() == 10) value += " 00:00:00";
                _value = new DateTime(value, _field.getDateFormat(), true);
                break;

            case Types.TIMESTAMP:
                _value = new Timestamp(value, _field.getDateFormat(), true);
                break;

            case Types.NULL:
            case Types.OTHER:
            case Types.CHAR:
View Full Code Here


    //------------------------------------------------------------------------------------------

    public void setValue(java.sql.Timestamp value) {
        if (_field.getType() == Types.TIMESTAMP) {
            _value = new Timestamp(value, _field.getDateFormat(), false);
        } else { // � um DateTime
            _value = new DateTime(value, _field.getDateFormat(), false);
        }
        setModified(true);
    }
View Full Code Here

TOP

Related Classes of pt.opensoft.util.Timestamp

Copyright © 2018 www.massapicom. 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.