Class CalendarCodec

java.lang.Object
com.sforce.ws.bind.CalendarCodec

public class CalendarCodec extends Object
The CalendarSerializer deserializes a dateTime. Much of the work is done in the base class.
Since:
1.0 Dec 2, 2005
Version:
1.0
Author:
Sam Ruby (rubys@us.ibm.com) Modified for JAX-RPC @author Rich Scheuerle (scheu@us.ibm.com), http://cheenath.com adopted from Apache AXIS
  • Field Details

  • Constructor Details

    • CalendarCodec

      public CalendarCodec()
  • Method Details

    • getDateFormat

      public static SimpleDateFormat getDateFormat()
    • getValueAsString

      public String getValueAsString(Object value)
    • deserialize

      public Calendar deserialize(String source)
      The simple deserializer provides most of the stuff. We just need to override makeValue().
      Parameters:
      source - source string to deserialize
      Returns:
      calendar created