TimeString

class astropy.time.core.TimeString(val1, val2, scale, precision, in_subfmt, out_subfmt, from_jd=False) [edit on github][source]

Bases: astropy.time.core.TimeFormat

Base class for string-like time represetations.

This class assumes that anything following the last decimal point to the right is a fraction of a second.

This is a reference implementation can be made much faster with effort.

Attributes Summary

vals

Methods Summary

set_jds(val1, val2) Parse the time strings contained in val1 and set jd1, jd2
str_kwargs() Generator that yields a dict of values corresponding to the calendar date and time for the internal JD values.

Attributes Documentation

vals[source]

Methods Documentation

set_jds(val1, val2) [edit on github][source]

Parse the time strings contained in val1 and set jd1, jd2

str_kwargs() [edit on github][source]

Generator that yields a dict of values corresponding to the calendar date and time for the internal JD values.

Page Contents