public void setTimeCoverage(DateRange p0) { proxy.setTimeCoverage( p0); }
public void setTimeCoverage(DateRange p0) { proxy.setTimeCoverage( p0); }
public void setTimeCoverage(DateRange p0) { proxy.setTimeCoverage( p0); }
public boolean addMetadata( InvDataset dataset) { // <dataset name="2005061512_NAM.wmo" urlPath="2005061512_NAM.wmo"/> java.util.regex.Matcher matcher = this.pattern.matcher( dataset.getName() ); if ( ! matcher.find()) return( false); // Pattern not found. StringBuffer startTime = new StringBuffer(); matcher.appendReplacement( startTime, this.substitutionPattern ); startTime.delete( 0, matcher.start() ); try { ((InvDatasetImpl) dataset).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null), null, new TimeDuration( this.duration ), null ) ); } catch ( ParseException e ) { logger.debug( "Start time <" + startTime.toString() + "> or duration <" + this.duration + "> not parsable: " + e.getMessage()); return( false); } ( (InvDatasetImpl) dataset ).finish(); return ( true ); } }
public boolean addMetadata( InvDataset dataset) { // <dataset name="2005061512_NAM.wmo" urlPath="2005061512_NAM.wmo"/> java.util.regex.Matcher matcher = this.pattern.matcher( dataset.getName() ); if ( ! matcher.find()) return( false); // Pattern not found. StringBuffer startTime = new StringBuffer(); matcher.appendReplacement( startTime, this.substitutionPattern ); startTime.delete( 0, matcher.start() ); try { ((InvDatasetImpl) dataset).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null), null, new TimeDuration( this.duration ), null ) ); } catch ( ParseException e ) { logger.debug( "Start time <" + startTime.toString() + "> or duration <" + this.duration + "> not parsable: " + e.getMessage()); return( false); } ( (InvDatasetImpl) dataset ).finish(); return ( true ); } }
public boolean addMetadata( InvDataset dataset) { // <dataset name="2005061512_NAM.wmo" urlPath="2005061512_NAM.wmo"/> java.util.regex.Matcher matcher = this.pattern.matcher( dataset.getName() ); if ( ! matcher.find()) return( false); // Pattern not found. StringBuffer startTime = new StringBuffer(); matcher.appendReplacement( startTime, this.substitutionPattern ); startTime.delete( 0, matcher.start() ); try { ((InvDatasetImpl) dataset).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null), null, new TimeDuration( this.duration ), null ) ); } catch ( ParseException e ) { logger.debug( "Start time <" + startTime.toString() + "> or duration <" + this.duration + "> not parsable: " + e.getMessage()); return( false); } ( (InvDatasetImpl) dataset ).finish(); return ( true ); } }
( (InvDatasetImpl) dataset ).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null ), null, new TimeDuration( this.duration ), null ) );
( (InvDatasetImpl) dataset ).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null ), null, new TimeDuration( this.duration ), null ) );
( (InvDatasetImpl) dataset ).setTimeCoverage( new DateRange( new DateType( startTime.toString(), null, null ), null, new TimeDuration( this.duration ), null ) );