forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cut/paste (most) remaining tz funcs to tslibs/timezones (pandas-dev#1…
- Loading branch information
1 parent
52a32ee
commit 1f28360
Showing
5 changed files
with
225 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
# -*- coding: utf-8 -*- | ||
# cython: profile=False | ||
|
||
from numpy cimport ndarray | ||
|
||
cdef bint is_utc(object tz) | ||
cdef bint is_tzlocal(object tz) | ||
|
||
cdef bint treat_tz_as_pytz(object tz) | ||
cdef bint treat_tz_as_dateutil(object tz) | ||
|
||
cpdef object get_timezone(object tz) | ||
cpdef object maybe_get_tz(object tz) | ||
|
||
cpdef get_utcoffset(tzinfo, obj) | ||
cdef bint _is_fixed_offset(object tz) | ||
|
||
cdef object _get_dst_info(object tz) |
Oops, something went wrong.