public Time asTime()
	{
		try {
			if (isNull()) {
				return null;
			} else if (isTime()) {
				return (Time) value;
			}

			Calendar cal = Calendar.getInstance();

			if (isTimestamp()) {
				cal.setTime((Timestamp) value);

				return new Time(cal.getTime().getTime());
			} else if (isUtilDate()) {
				cal.setTime((java.util.Date) value);

				return new Time(cal.getTime().getTime());
			} else if (isString()) {
				return Time.valueOf((String) value);
			} else {
				return Time.valueOf(asString());
			}
		} catch (IllegalArgumentException a) {
			throw new SwingObjectRunException( a, ErrorSeverity.SEVERE, FrameFactory.class);
		} catch (Exception b) {
			throw new SwingObjectRunException( b, ErrorSeverity.SEVERE, FrameFactory.class);
		}
	}