Beispiel #1
0
        //! EpochTime constructor.

        /*!
         * \param EpochTime
         * Contructs EpochTime from EpochTime Object
         */
        public EpochTime(EpochTime _EpochTime)
        {
            hour    = _EpochTime.getHour();
            minutes = _EpochTime.getMin();
            seconds = _EpochTime.getSec();

            year  = _EpochTime.getYear();
            month = _EpochTime.getMonth();
            day   = _EpochTime.getDay();

            epoch = _EpochTime.getEpoch();
        }
Beispiel #2
0
        //! EpochTime constructor.
        /*!
        \param EpochTime
        Contructs EpochTime from EpochTime Object
        */
        public EpochTime(EpochTime _EpochTime)
        {
            hour = _EpochTime.getHour();
            minutes = _EpochTime.getMin();
            seconds = _EpochTime.getSec();

            year = _EpochTime.getYear();
            month = _EpochTime.getMonth();
            day = _EpochTime.getDay();

            epoch = _EpochTime.getEpoch();
        }