package com.l7tech.security.xml.processor;

import com.l7tech.util.DomUtils;
import com.l7tech.util.ISO8601Date;
import java.text.ParseException;
import java.util.Date;
import org.w3c.dom.Element;

class h extends d implements WssTimestampDate {
   Date a;
   String b;

   h(Element var1) throws ParseException {
      super(var1);
      this.b = DomUtils.getTextValue(var1);
      this.a = ISO8601Date.parse(this.b);
   }

   @Override
   public long asTime() {
      return this.a.getTime();
   }

   @Override
   public String asIsoString() {
      return this.b;
   }
}
