org.milyn.smooks.edi.unedifact.model.r41.types
Class DateTime
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTime
public DateTime()
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.