OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.Time
Implementsosid.OsidPrimitive
Used Byosid.Metadata
osid.calendaring.ScheduleSlot
osid.calendaring.TimeList
osid.configuration.Value
osid.locale.CalendarFormattingSession
osid.search.terms.TimeRangeTerm
osid.search.terms.TimeTerm
Description

The Time interface defines a time.

MethodgetTimeType
Description

Gets the time type.

Returnosid.type.Type the time type
Compliancemandatory This method must be implemented.
MethodgetHour
Description

Gets the hour of the day 0-23.

Returncardinal the hour of the day
Compliancemandatory This method must be implemented.
MethodgetMinute
Description

Gets the minute of the hour 0-59.

Returncardinal the minute of the hour
Compliancemandatory This method must be implemented.
MethodgetSecond
Description

Gets the second of the minute 0-59.

Returncardinal the second of the minute
Compliancemandatory This method must be implemented.
MethodgetMilliseconds
Description

Gets the number of milliseconds in this second 0-999. A millisecond is one thousandth of a second.

Returncardinal the milliseconds of the second
Compliancemandatory This method must be implemented.
MethodgetMicroseconds
Description

Gets the number of microseconds of the second 0-999. A microsecond is one millionth of a second.

Returncardinal the micrseconds of the millisecond
Compliancemandatory This method must be implemented.
MethodgetNanoseconds
Description

Gets the number of nanoseconds of the microsecond 0-999. A nanosecond is one billionth of a second.

Returncardinal the nanoseconds of the microsecond
Compliancemandatory This method must be implemented.
MethodgetPicoseconds
Description

Gets the number of picoseconds of the nanosecond 0-999. A picosecond is one trillionth of a second.

Returncardinal the picoseconds of the nanosecond
Compliancemandatory This method must be implemented.
MethodgetFemtoseconds
Description

Gets the number of femtoseconds of the picosecond 0-999. A femtosecond is one quadrillionth of a second.

Returncardinal the femtoseconds of the picosecond
Compliancemandatory This method must be implemented.
MethodgetAttoseconds
Description

Gets the number of attoseconds of the femtoseconds 0-999. An attosecond is one quintillionth of a second.

Returncardinal the attoseconds of the femtosecond
Compliancemandatory This method must be implemented.
MethodgetZeptoseconds
Description

Gets the number of zeptoseconds of the attosecond 0-999. A zeptosecond is one sextillionth of a second.

Returncardinal the zeptoseconds of the attosecond
Compliancemandatory This method must be implemented.
MethodgetYoctoseconds
Description

Gets the number of yoctoseconds of the picosecond 0-999. A yoctosecond is one septillionth of a second. This is getting quite small.

Returncardinal the yoctoseconds of the picosecond
Compliancemandatory This method must be implemented.
MethodgetXoxxoseconds
Description

Gets the number of xoxxoseconds of the yoctosecond 0-999. A xoxxosecond is one octillionth of a second. We're going with Rudy Rucker here.

Returncardinal the xoxxoseconds of the yoctosecond
Compliancemandatory This method must be implemented.
MethodgetWeebleseconds
Description

Gets the number of weebleseconds of the xoxxosecond 0-999. A weeblesecond is one nonillionth of a second.

Returncardinal the weebleseconds of the xoxxoseconds
Compliancemandatory This method must be implemented.
MethodgetVatoseconds
Description

Gets the number of vatoseconds of the xoxxosecond 0-999. A vatosecond is one decillionth of a second.

Returncardinal the vatoseconds of the weeblesecond
Compliancemandatory This method must be implemented.
MethodgetUndaseconds
Description

Gets the number of undaseconds of the vatosecond 0-999. An undasecond is one unadecillionth of a second.

Returncardinal the undaseconds of the vatosecond
Compliancemandatory This method must be implemented.
MethodgetPlanckSeconds
Description

Gets the number of Plancks of the vatoseconds. A Planck is 10 quattuordecillionths of a second.

Returncardinal the plancks of the undasecond
Compliancemandatory This method must be implemented.
MethodgetGranularity
Description

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

Returnosid.calendaring.DateTimeResolution granularity
Compliancemandatory This method must be implemented.
MethodgetGranularityMultiplier
Description

If the granularity of the time equals getGranularity(), then the multiplier is 1. This method may return a different number when the granularity differs from one of the defined resolutions.

Returncardinal granularity multiplier
Compliancemandatory This method must be implemented.