Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/isodate/__init__.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author | shellac |
---|---|
date | Mon, 01 Jun 2020 08:59:25 -0400 |
parents | 79f47841a781 |
children |
comparison
equal
deleted
inserted
replaced
4:79f47841a781 | 5:9b1c78e6ba9c |
---|---|
1 ############################################################################## | |
2 # Copyright 2009, Gerhard Weis | |
3 # All rights reserved. | |
4 # | |
5 # Redistribution and use in source and binary forms, with or without | |
6 # modification, are permitted provided that the following conditions are met: | |
7 # | |
8 # * Redistributions of source code must retain the above copyright notice, | |
9 # this list of conditions and the following disclaimer. | |
10 # * Redistributions in binary form must reproduce the above copyright notice, | |
11 # this list of conditions and the following disclaimer in the documentation | |
12 # and/or other materials provided with the distribution. | |
13 # * Neither the name of the authors nor the names of its contributors | |
14 # may be used to endorse or promote products derived from this software | |
15 # without specific prior written permission. | |
16 # | |
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
18 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
19 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
20 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | |
21 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
22 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
23 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
24 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
25 # CONTRACT, STRICT LIABILITY, OR TORT | |
26 ############################################################################## | |
27 ''' | |
28 Import all essential functions and constants to re-export them here for easy | |
29 access. | |
30 | |
31 This module contains also various pre-defined ISO 8601 format strings. | |
32 ''' | |
33 from isodate.isodates import parse_date, date_isoformat | |
34 from isodate.isotime import parse_time, time_isoformat | |
35 from isodate.isodatetime import parse_datetime, datetime_isoformat | |
36 from isodate.isoduration import parse_duration, duration_isoformat | |
37 from isodate.isoerror import ISO8601Error | |
38 from isodate.isotzinfo import parse_tzinfo, tz_isoformat | |
39 from isodate.tzinfo import UTC, FixedOffset, LOCAL | |
40 from isodate.duration import Duration | |
41 from isodate.isostrf import strftime | |
42 from isodate.isostrf import DATE_BAS_COMPLETE, DATE_BAS_ORD_COMPLETE | |
43 from isodate.isostrf import DATE_BAS_WEEK, DATE_BAS_WEEK_COMPLETE | |
44 from isodate.isostrf import DATE_CENTURY, DATE_EXT_COMPLETE | |
45 from isodate.isostrf import DATE_EXT_ORD_COMPLETE, DATE_EXT_WEEK | |
46 from isodate.isostrf import DATE_EXT_WEEK_COMPLETE, DATE_YEAR | |
47 from isodate.isostrf import DATE_BAS_MONTH, DATE_EXT_MONTH | |
48 from isodate.isostrf import TIME_BAS_COMPLETE, TIME_BAS_MINUTE | |
49 from isodate.isostrf import TIME_EXT_COMPLETE, TIME_EXT_MINUTE | |
50 from isodate.isostrf import TIME_HOUR | |
51 from isodate.isostrf import TZ_BAS, TZ_EXT, TZ_HOUR | |
52 from isodate.isostrf import DT_BAS_COMPLETE, DT_EXT_COMPLETE | |
53 from isodate.isostrf import DT_BAS_ORD_COMPLETE, DT_EXT_ORD_COMPLETE | |
54 from isodate.isostrf import DT_BAS_WEEK_COMPLETE, DT_EXT_WEEK_COMPLETE | |
55 from isodate.isostrf import D_DEFAULT, D_WEEK, D_ALT_EXT, D_ALT_BAS | |
56 from isodate.isostrf import D_ALT_BAS_ORD, D_ALT_EXT_ORD | |
57 | |
58 __all__ = ['parse_date', 'date_isoformat', 'parse_time', 'time_isoformat', | |
59 'parse_datetime', 'datetime_isoformat', 'parse_duration', | |
60 'duration_isoformat', 'ISO8601Error', 'parse_tzinfo', | |
61 'tz_isoformat', 'UTC', 'FixedOffset', 'LOCAL', 'Duration', | |
62 'strftime', 'DATE_BAS_COMPLETE', 'DATE_BAS_ORD_COMPLETE', | |
63 'DATE_BAS_WEEK', 'DATE_BAS_WEEK_COMPLETE', 'DATE_CENTURY', | |
64 'DATE_EXT_COMPLETE', 'DATE_EXT_ORD_COMPLETE', 'DATE_EXT_WEEK', | |
65 'DATE_EXT_WEEK_COMPLETE', 'DATE_YEAR', | |
66 'DATE_BAS_MONTH', 'DATE_EXT_MONTH', | |
67 'TIME_BAS_COMPLETE', 'TIME_BAS_MINUTE', 'TIME_EXT_COMPLETE', | |
68 'TIME_EXT_MINUTE', 'TIME_HOUR', 'TZ_BAS', 'TZ_EXT', 'TZ_HOUR', | |
69 'DT_BAS_COMPLETE', 'DT_EXT_COMPLETE', 'DT_BAS_ORD_COMPLETE', | |
70 'DT_EXT_ORD_COMPLETE', 'DT_BAS_WEEK_COMPLETE', | |
71 'DT_EXT_WEEK_COMPLETE', 'D_DEFAULT', 'D_WEEK', 'D_ALT_EXT', | |
72 'D_ALT_BAS', 'D_ALT_BAS_ORD', 'D_ALT_EXT_ORD'] |