xref: /aosp_15_r20/external/licenseclassifier/v2/scenarios/155689090 (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1*46c4c49dSIbrahim KanoucheLegacy classifier identifies BSD-3-Clause-Attribution
2*46c4c49dSIbrahim KanoucheEXPECTED:BSD-3-Clause,Copyright
3*46c4c49dSIbrahim Kanouche"""DatetimeIndex analog for cftime.datetime objects"""
4*46c4c49dSIbrahim Kanouche# The pandas.Index subclass defined here was copied and adapted for
5*46c4c49dSIbrahim Kanouche# use with cftime.datetime objects based on the source code defining
6*46c4c49dSIbrahim Kanouche# pandas.DatetimeIndex.
7*46c4c49dSIbrahim Kanouche
8*46c4c49dSIbrahim Kanouche# For reference, here is a copy of the pandas copyright notice:
9*46c4c49dSIbrahim Kanouche
10*46c4c49dSIbrahim Kanouche# (c) 2011-2012, Lambda Foundry, Inc. and PyData Development Team
11*46c4c49dSIbrahim Kanouche# All rights reserved.
12*46c4c49dSIbrahim Kanouche
13*46c4c49dSIbrahim Kanouche# Copyright (c) 2008-2011 AQR Capital Management, LLC
14*46c4c49dSIbrahim Kanouche# All rights reserved.
15*46c4c49dSIbrahim Kanouche
16*46c4c49dSIbrahim Kanouche# Redistribution and use in source and binary forms, with or without
17*46c4c49dSIbrahim Kanouche# modification, are permitted provided that the following conditions are
18*46c4c49dSIbrahim Kanouche# met:
19*46c4c49dSIbrahim Kanouche
20*46c4c49dSIbrahim Kanouche#     * Redistributions of source code must retain the above copyright
21*46c4c49dSIbrahim Kanouche#        notice, this list of conditions and the following disclaimer.
22*46c4c49dSIbrahim Kanouche
23*46c4c49dSIbrahim Kanouche#     * Redistributions in binary form must reproduce the above
24*46c4c49dSIbrahim Kanouche#        copyright notice, this list of conditions and the following
25*46c4c49dSIbrahim Kanouche#        disclaimer in the documentation and/or other materials provided
26*46c4c49dSIbrahim Kanouche#        with the distribution.
27*46c4c49dSIbrahim Kanouche
28*46c4c49dSIbrahim Kanouche#     * Neither the name of the copyright holder nor the names of any
29*46c4c49dSIbrahim Kanouche#        contributors may be used to endorse or promote products derived
30*46c4c49dSIbrahim Kanouche#        from this software without specific prior written permission.
31*46c4c49dSIbrahim Kanouche
32*46c4c49dSIbrahim Kanouche# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
33*46c4c49dSIbrahim Kanouche# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34*46c4c49dSIbrahim Kanouche# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
35*46c4c49dSIbrahim Kanouche# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
36*46c4c49dSIbrahim Kanouche# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
37*46c4c49dSIbrahim Kanouche# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
38*46c4c49dSIbrahim Kanouche# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
39*46c4c49dSIbrahim Kanouche# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
40*46c4c49dSIbrahim Kanouche# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
41*46c4c49dSIbrahim Kanouche# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
42*46c4c49dSIbrahim Kanouche# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43