Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.xerces.impl.dv.xs;
 
 
 public class TimeDV extends AbstractDateTimeDV
  public Object getActualValue(String paramStringValidationContext paramValidationContext)
  {
    // Byte code:
    //   0: aload_0
    //   1: aload_1
    //   2: invokevirtual 2	org/apache/xerces/impl/dv/xs/TimeDV:parse	(Ljava/lang/String;)Lorg/apache/xerces/impl/dv/xs/AbstractDateTimeDV$DateTimeData;
    //   5: areturn
    //   6: astore_3
    //   7: new 4	org/apache/xerces/impl/dv/InvalidDatatypeValueException
    //   10: dup
    //   11: ldc 5
    //   13: iconst_2
    //   14: anewarray 6	java/lang/Object
    //   17: dup
    //   18: iconst_0
    //   19: aload_1
    //   20: aastore
    //   21: dup
    //   22: iconst_1
    //   23: ldc 7
    //   25: aastore
    //   26: invokespecial 8	org/apache/xerces/impl/dv/InvalidDatatypeValueException:<init>	(Ljava/lang/String;[Ljava/lang/Object;)V
    //   29: athrow
    //
    // Exception table:
    //   from	to	target	type
    //   0	6	6	java/lang/Exception
  }
  protected AbstractDateTimeDV.DateTimeData parse(String paramString)
  {
    AbstractDateTimeDV.DateTimeData localDateTimeData = new AbstractDateTimeDV.DateTimeData(paramStringthis);
    int i = paramString.length();
    localDateTimeData.year = 2000;
    localDateTimeData.month = 1;
    localDateTimeData.day = 15;
    getTime(paramString, 0, ilocalDateTimeData);
    validateDateTime(localDateTimeData);
    saveUnnormalized(localDateTimeData);
    if ((localDateTimeData.utc != 0) && (localDateTimeData.utc != 90))
      normalize(localDateTimeData);
    localDateTimeData.position = 2;
    return localDateTimeData;
  }
  protected String dateToString(AbstractDateTimeDV.DateTimeData paramDateTimeData)
  {
    StringBuffer localStringBuffer = new StringBuffer(16);
    append(localStringBufferparamDateTimeData.hour, 2);
    localStringBuffer.append(':');
    append(localStringBufferparamDateTimeData.minute, 2);
    localStringBuffer.append(':');
    append(localStringBufferparamDateTimeData.second);
    append(localStringBuffer, (char)paramDateTimeData.utc, 0);
    return localStringBuffer.toString();
  }
  {
    return this..newXMLGregorianCalendar(null, -2147483648, -2147483648, paramDateTimeData.unNormHourparamDateTimeData.unNormMinute, (int)paramDateTimeData.unNormSecondparamDateTimeData.unNormSecond != 0.0D ? new BigDecimal(paramDateTimeData.unNormSecond - (int)paramDateTimeData.unNormSecond) : nullparamDateTimeData.timezoneHr * 60 + paramDateTimeData.timezoneMin);
  }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.xerces.impl.dv.xs.TimeDV
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X