#######################################################################
#
#       COPYRIGHT 2005 MAYA DESIGN, INC., ALL RIGHTS RESERVED.
#
# ALL INTELLECTUAL PROPERTY RIGHTS IN THIS PROGRAM ARE OWNED BY MAYA DESIGN.
# THIS PROGRAM CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OWNED BY MAYA
# DESIGN AND MAY NOT BE DISCLOSED TO ANY THIRD PARTY WITHOUT THE PRIOR CONSENT
# OF MAYA DESIGN.  THIS PROGRAM MAY ONLY BE USED IN ACCORDANCE WITH THE TERMS
# OF THE APPLICABLE LICENSE AGREEMENT FROM MAYA DESIGN. THIS LEGEND MAY NOT BE
# REMOVED FROM THIS PROGRAM BY ANY PARTY.
#
# THIS LEGEND AND ANY MAYA DESIGN LICENSE DOES NOT APPLY TO ANY OPEN SOURCE
# SOFTWARE THAT MAY BE PROVIDED HEREIN.  THE LICENSE AGREEMENT FOR ANY OPEN
# SOURCE SOFTWARE, INCLUDING WHERE APPLICABLE, THE GNU GENERAL PUBLIC LICENSE
# ("GPL") AND OTHER OPEN SOURCE LICENSE AGREEMENTS, IS LOCATED IN THE SOURCE
# CODE FOR SUCH SOFTWARE.  NOTHING HEREIN SHALL LIMIT YOUR RIGHTS UNDER THE
# TERMS OF ANY APPLICABLE LICENSE FOR OPEN SOURCE SOFTWARE.
#######################################################################
# Seung Chan Lim (slim@maya.com)
try:
    import warnings as _warnings
except:
    def _warn(msg):
        print "WARNING: %s\n"%(msg)
else:
    def _warn(msg):
        _warnings.warn(msg, category=DeprecationWarning, stacklevel=3)
from VIA import uform

import MAYA.datatypes
from utils import date


        
_warn("You should be using the new structure MAYA.utils.date to import this module")

# we do it the following way to also import names starting with "_"
(globals()).update(date.__dict__)




class Date(MAYA.datatypes.Date):
    def __init__(self,d,tz=None):
        _warn("You should be using the new structure MAYA.datatypes.Date to instantiate this class")
        MAYA.datatypes.Date.__init__(self, d, tz)