Package es.ipsa.atril.doc.user

Examples of es.ipsa.atril.doc.user.AttributeMultiValue.toLong()


                put(aAttrs[a].name, oAttr.toDate());
                break;
              case DATE_TIME:
                long lValue;
                try {
                  lValue = oAttr.toLong();
                  Log.out.info("Got long value "+String.valueOf(lValue));
                  if (lValue!=-1l)
                    put(aAttrs[a].name, DateConversions.getDateFromIPSATime(lValue));
                } catch (NumberFormatException nfe) {
                  String sValue;
View Full Code Here


                case DATE_TIME:
                  Date[] aDttm = new Date[oAttr.count()];
                  for (int c=0; c<oAttr.count(); c++) {
                    long lValue;
                    try {
                      lValue = oAttr.toLong();
                      if (lValue!=-1l)       
                        aDttm[c] = DateConversions.getDateFromIPSATime(lValue);
                      else
                        aDttm[c] = null;
                    } catch (NumberFormatException nfe) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.