Esempio n. 1
0
    def get_second(self):
        """Gets the second of the minute 0-59.

        return: (cardinal) - the second of the minute
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 2
0
    def get_calendar_type(self):
        """Gets the calendar type.

        return: (osid.type.Type) - the calendar type
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 3
0
    def get_minute(self):
        """Gets the minute of the hour 0-59.

        return: (cardinal) - the minute of the hour
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 4
0
    def get_hour(self):
        """Gets the hour of the day 0-23.

        return: (cardinal) - the hour of the day
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 5
0
    def get_day(self):
        """Gets the day of the month starting from 1.

        return: (cardinal) - the day of the month
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 6
0
    def get_year(self):
        """Gets the year starting from 1.

        return: (integer) - the year
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 7
0
    def get_seconds(self):
        """Gets the number of seconds.

        return: (decimal) - the number of seconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 8
0
    def defines_uncertainty(self):
        """Tests if uncertainty is defined for this time.

        return: (boolean) - ``true`` if uncertainty is defined,
                ``false`` otherwise
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 9
0
    def get_uncertainty_plus(self):
        """Gets the uncertainty of this time in the positive direction.

        return: (cardinal) - the uncertainty over this value
        raise:  IllegalState - ``defines_uncertainty()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 10
0
    def get_undaseconds(self):
        """Gets the number of undaseconds of the vatosecond 0-999.

        An undasecond is one unadecillionth of a second.

        return: (cardinal) - the undaseconds of the vatosecond
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 11
0
    def get_weebleseconds(self):
        """Gets the number of weebleseconds of the xoxxosecond 0-999.

        A weeblesecond is one nonillionth of a second.

        return: (cardinal) - the weebleseconds of the xoxxoseconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 12
0
    def get_milliseconds(self):
        """Gets the number of milliseconds.

        A millisecond is one thousandth of a second.

        return: (decimal) - the number of milliseconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 13
0
    def get_millennia(self):
        """Gets the number of millennia.

        A millennium is 1,000 years.

        return: (decimal) - the number of millennia
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 14
0
    def get_nanoseconds(self):
        """Gets the number of nanoseconds of the microsecond 0-999.

        A nanosecond is one billionth of a second.

        return: (cardinal) - the nanoseconds of the microsecond
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 15
0
    def get_milliseconds(self):
        """Gets the number of milliseconds in this second 0-999.

        A millisecond is one thousandth of a second.

        return: (cardinal) - the milliseconds of the second
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 16
0
    def get_epochs(self):
        """Gets the number of epochs.

        An epoch is 1M years.

        return: (decimal) - the number of epochs
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 17
0
    def get_femtoseconds(self):
        """Gets the number of femtoseconds of the picosecond 0-999.

        A femtosecond is one quadrillionth of a second.

        return: (cardinal) - the femtoseconds of the picosecond
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 18
0
    def get_zeptoseconds(self):
        """Gets the number of zeptoseconds of the attosecond 0-999.

        A zeptosecond is one sextillionth of a second.

        return: (cardinal) - the zeptoseconds of the attosecond
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 19
0
    def get_aeons(self):
        """Gets the number of aeons.

        An aeon is 1B years.

        return: (decimal) - the number of aeons
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 20
0
    def get_epoch(self):
        """Gets the epoch starting from 1.

        An epoch is 1M years.

        return: (integer) - the eposh
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 21
0
    def get_millennium(self):
        """Gets the millennium starting from 1.

        A millenium is 1,000 years.

        return: (integer) - the millennium
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 22
0
    def get_uncertainty_units(self):
        """Gets the units of the uncertainty.

        return: (osid.calendaring.DateTimeResolution) - units of the
                uncertainty
        raise:  IllegalState - ``defines_uncertainty()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 23
0
    def get_planck_seconds(self):
        """Gets the number of Planck sseconds.

        A Planck is 10 quattuordecillionths of a second.

        return: (decimal) - the number of planck seconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 24
0
    def get_undaseconds(self):
        """Gets the number of undaseconds.

        An undasecond is one unadecillionth of a second.

        return: (decimal) - the number of undaseconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 25
0
    def get_aeon(self):
        """Gets the aeon starting from 1.

        An aeon is 1B years.

        return: (integer) - the aeon
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 26
0
    def get_granularity_multiplier(self):
        """If the granularity of the time equals ``get_granularity(),`` then the multiplier is 1.

        This method may return a different number when the granularity
        differs from one of the defined resolutions.

        return: (cardinal) - granularity multiplier
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 27
0
    def get_xoxxoseconds(self):
        """Gets the number of xoxxoseconds.

        A xoxxosecond is one octillionth of a second. We're going with
        Rudy Rucker here.

        return: (decimal) - the number of xoxxoseconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 28
0
    def get_yoctoseconds(self):
        """Gets the number of yoctoseconds.

        A yoctosecond is one septillionth of a second. This is getting
        quite small.

        return: (decimal) - the number of yoctoseconds
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 29
0
    def get_granularity(self):
        """Gets the granularity of this duration.

        The granularity indicates the resolution of the clock. More
        precision than what is specified in this method cannot be
        inferred from the available data.

        return: (osid.calendaring.DateTimeResolution) - the time units
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()
Esempio n. 30
0
    def is_uncertainty_time_inclusive(self):
        """Tests if the uncertainty is time inclusive.

        An inclusive uncertainty includes the entire range specified by
        the uncertainty units e.g. +/- 1 year includes all of the
        seconds within that interval. A non-inclusive uncertainty would
        mean the year is uncertain but the time is certain.

        return: (boolean) - ``true`` if the uncertainty includes all
                times, ``false`` otherwise
        raise:  IllegalState - ``defines_uncertainty()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*

        """
        raise Unimplemented()