org.milyn.smooks.edi.unedifact.model.r41.types
Class DateTime

java.lang.Object
  extended by org.milyn.smooks.edi.unedifact.model.r41.types.DateTime
All Implemented Interfaces:
Serializable, EDIWritable

public class DateTime
extends Object
implements Serializable, EDIWritable

UN/EDIFACT Date and Time.

Author:
tom.fennelly@gmail.com
See Also:
Serialized Form

Constructor Summary
DateTime()
           
 
Method Summary
 String getDate()
           
 String getTime()
           
 void setDate(String date)
           
 void setTime(String time)
           
 Date toDate()
           
 void write(Writer writer, org.milyn.edisax.model.internal.Delimiters delimiters)
          Write the bean to the specified Writer instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTime

public DateTime()
Method Detail

write

public void write(Writer writer,
                  org.milyn.edisax.model.internal.Delimiters delimiters)
           throws IOException
Description copied from interface: EDIWritable
Write the bean to the specified Writer instance.

Specified by:
write in interface EDIWritable
Parameters:
writer - The target writer.
delimiters - The delimiters.
Throws:
IOException - Error writing bean.

getDate

public String getDate()

setDate

public void setDate(String date)

getTime

public String getTime()

setTime

public void setTime(String time)

toDate

public Date toDate()
            throws ParseException
Throws:
ParseException


Copyright © 2018. All rights reserved.