Added ISO-Date Getter function
Added Wrapper method for protected extractString method, for easy extension of ZUGFeRDImporter.java
This commit is contained in:
@@ -234,6 +234,25 @@ public class ZUGFeRDImporter {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Wrapper for protected method
|
||||
* @return the extracted String for the specific path in the document
|
||||
*/
|
||||
public String wExtractString(String xpathStr) {
|
||||
return extractString(xpathStr);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return an ISO XXX coded datetime string
|
||||
*/
|
||||
public String getISOdate(String xpathString) {
|
||||
String date = extractString(xpathString);
|
||||
//do some conversion magic here
|
||||
return date;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the reference (purpose) the sender specified for this invoice
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user