/** * @see CommonTM#setHourPrecision(int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourPrecision(int hr) throws DataTypeException { getDetail().setHourPrecision(hr); }
private CommonTM getDetail() throws DataTypeException { if (myDetail == null) { myDetail = new CommonTM(getValue()); } return myDetail; }
private CommonTM getDetail() throws DataTypeException { if (myDetail == null) { myDetail = new CommonTM(getValue()); } return myDetail; }
/** * @see CommonTM#setHourMinutePrecision(int, int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourMinutePrecision(int hr, int min) throws DataTypeException { getDetail().setHourMinutePrecision(hr,min); }
/** * @see CommonTM#setHourMinSecondPrecision(int, int, float) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourMinSecondPrecision(int hr, int min, float sec) throws DataTypeException { getDetail().setHourMinSecondPrecision(hr,min,sec); }
/** * Returns the second as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getSecond() throws DataTypeException { return getDetail().getSecond(); }
/** * Returns the hour as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getHour() throws DataTypeException { return getDetail().getHour(); }
/** * Returns the fractional second value as a float. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public float getFractSecond() throws DataTypeException { return getDetail().getFractSecond(); }
/** * Returns the hour as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getHour() throws DataTypeException { return getDetail().getHour(); }
/** * @see CommonTM#setOffset(int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setOffset(int signedOffset) throws DataTypeException { getDetail().setOffset(signedOffset); }
/** * @see CommonTM#setHourMinutePrecision(int, int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourMinutePrecision(int hr, int min) throws DataTypeException { getDetail().setHourMinutePrecision(hr,min); }
/** * @see CommonTM#setOffset(int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setOffset(int signedOffset) throws DataTypeException { getDetail().setOffset(signedOffset); }
/** * Returns the second as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getSecond() throws DataTypeException { return getDetail().getSecond(); }
/** * @see CommonTM#setHourPrecision(int) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourPrecision(int hr) throws DataTypeException { getDetail().setHourPrecision(hr); }
/** * Returns the minute as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getMinute() throws DataTypeException { return getDetail().getMinute(); }
/** * Returns the GMT offset value as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getGMTOffset() throws DataTypeException { return getDetail().getGMTOffset(); }
/** * @see CommonTM#setHourMinSecondPrecision(int, int, float) * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public void setHourMinSecondPrecision(int hr, int min, float sec) throws DataTypeException { getDetail().setHourMinSecondPrecision(hr,min,sec); }
/** * Returns the minute as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getMinute() throws DataTypeException { return getDetail().getMinute(); }
/** * Returns the fractional second value as a float. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public float getFractSecond() throws DataTypeException { return getDetail().getFractSecond(); }
/** * Returns the GMT offset value as an integer. * @throws DataTypeException if the value is incorrectly formatted. If validation is enabled, this * exception should be thrown at setValue(), but if not, detailed parsing may be deferred until * this method is called. */ public int getGMTOffset() throws DataTypeException { return getDetail().getGMTOffset(); }