Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.xerces.impl.dv.xs;
 
 
 class YearMonthDurationDV extends DurationDV
  public Object getActualValue(String paramStringValidationContext paramValidationContext)
  {
    // Byte code:
    //   0: aload_0
    //   1: aload_1
    //   2: iconst_1
    //   3: invokevirtual 2	org/apache/xerces/impl/dv/xs/DurationDV:parse	(Ljava/lang/String;I)Lorg/apache/xerces/impl/dv/xs/AbstractDateTimeDV$DateTimeData;
    //   6: areturn
    //   7: astore_3
    //   8: new 4	org/apache/xerces/impl/dv/InvalidDatatypeValueException
    //   11: dup
    //   12: ldc 5
    //   14: iconst_2
    //   15: anewarray 6	java/lang/Object
    //   18: dup
    //   19: iconst_0
    //   20: aload_1
    //   21: aastore
    //   22: dup
    //   23: iconst_1
    //   24: ldc 7
    //   26: aastore
    //   27: invokespecial 8	org/apache/xerces/impl/dv/InvalidDatatypeValueException:<init>	(Ljava/lang/String;[Ljava/lang/Object;)V
    //   30: athrow
    //
    // Exception table:
    //   from	to	target	type
    //   0	7	7	java/lang/Exception
  }
  protected Duration getDuration(AbstractDateTimeDV.DateTimeData paramDateTimeData)
  {
    int i = 1;
    if ((paramDateTimeData.year < 0) || (paramDateTimeData.month < 0))
      i = -1;
    return this..newDuration(i == 1, paramDateTimeData.year != -2147483648 ? BigInteger.valueOf(i * paramDateTimeData.year) : nullparamDateTimeData.month != -2147483648 ? BigInteger.valueOf(i * paramDateTimeData.month) : nullnullnullnullnull);
  }
/* 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.YearMonthDurationDV
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X