Changeset 727:cb00280251b8


Ignore:
Timestamp:
11/22/12 14:24:44 (6 years ago)
Author:
Konstantina Bereta <Konstantina.Bereta@…>
Branch:
temporals
Message:

same

File:
1 edited

Legend:

Unmodified
Added
Removed
  • runtime/src/main/java/eu/earthobservatory/runtime/generaldb/NQuadsParser.java

    r726 r727  
    212212        String element2 = splits[1].substring(0,i2); 
    213213        //System.out.println("element2"+element2); 
    214         String[] splash2 = splits[1].split("]"); 
    215214        DateFormat dateformat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, 
    216215                DateFormat.SHORT); 
     
    218217        //System.out.println("element1 = "+element1); 
    219218        String startDate = element1.substring(0,syn); 
    220         syn = element1.indexOf('+'); 
     219        syn = element2.indexOf('+'); 
    221220        String endDate = element2.substring(0,syn); 
    222221        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 
Note: See TracChangeset for help on using the changeset viewer.