public Date getAttributeDateValue(String uri, String local) throws XMLStreamException { try { CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM); return new GDateBuilder(cs).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getAttributeDateValue(int index) throws XMLStreamException { try { return new GDateBuilder(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM)) .getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getDateValue() throws XMLStreamException, InvalidLexicalValueException { _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM); try { return new GDateBuilder(_charSeq).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public void updateSleepUntil() { GDateBuilder gDateBuilder = new GDateBuilder(); gDateBuilder.setDate(new Date()); gDateBuilder.addGDuration(job.getUpdateInterval()); sleepUntil = gDateBuilder.getDate(); }
public Date getAttributeDateValue(String uri, String local) throws XMLStreamException { try { CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM); return new GDateBuilder(cs).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getAttributeDateValue(int index) throws XMLStreamException { try { return new GDateBuilder(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM)) .getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getDateValue() throws XMLStreamException, InvalidLexicalValueException { _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM); try { return new GDateBuilder(_charSeq).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getAttributeDateValue(String uri, String local) throws XMLStreamException { try { CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM); return new GDateBuilder(cs).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getAttributeDateValue(int index) throws XMLStreamException { try { return new GDateBuilder(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM)) .getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }
public Date getDateValue() throws XMLStreamException, InvalidLexicalValueException { _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM); try { return new GDateBuilder(_charSeq).getDate(); } catch(IllegalArgumentException e) { throw new InvalidLexicalValueException(e, _charSeq.getLocation()); } }