Class DateTimeConstructor

  • All Implemented Interfaces:
    IObjectConstructor

    public class DateTimeConstructor
    extends java.lang.Object
    implements IObjectConstructor
    This constructor can create various datetime related objects.
    Author:
    Irmen de Jong (irmen@razorvine.net)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DATE  
      static int DATETIME  
      static int TIME  
      static int TIMEDELTA  
    • Constructor Summary

      Constructors 
      Constructor Description
      DateTimeConstructor​(int pythontype)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object construct​(java.lang.Object[] args)
      Create an object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DATETIME

        public static int DATETIME
      • DATE

        public static int DATE
      • TIME

        public static int TIME
      • TIMEDELTA

        public static int TIMEDELTA
    • Constructor Detail

      • DateTimeConstructor

        public DateTimeConstructor​(int pythontype)
    • Method Detail

      • construct

        public java.lang.Object construct​(java.lang.Object[] args)
        Description copied from interface: IObjectConstructor
        Create an object. Use the given args as parameters for the constructor.
        Specified by:
        construct in interface IObjectConstructor