OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.Time
Implementsosid.OsidPrimitive
Description

The Time interface defines a time.

MethodgetTimeType
Description

Gets the time type.

Returnosid.type.Typethe time type
CompliancemandatoryThis method must be implemented.
MethodgetHour
Description

Gets the hour of the day 0-23.

Returncardinalthe hour of the day
CompliancemandatoryThis method must be implemented.
MethodgetMinute
Description

Gets the minute of the hour 0-59.

Returncardinalthe minute of the hour
CompliancemandatoryThis method must be implemented.
MethodgetSecond
Description

Gets the second of the minute 0-59.

Returncardinalthe second of the minute
CompliancemandatoryThis method must be implemented.
MethodgetMilliseconds
Description

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

Returncardinalthe milliseconds of the second
CompliancemandatoryThis method must be implemented.
MethodgetMicroseconds
Description

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

Returncardinalthe micrseconds of the millisecond
CompliancemandatoryThis method must be implemented.
MethodgetNanoseconds
Description

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

Returncardinalthe nanoseconds of the microsecond
CompliancemandatoryThis method must be implemented.
MethodgetPicoseconds
Description

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

Returncardinalthe picoseconds of the nanosecond
CompliancemandatoryThis method must be implemented.
MethodgetFemtoseconds
Description

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

Returncardinalthe femtoseconds of the picosecond
CompliancemandatoryThis method must be implemented.
MethodgetAttoseconds
Description

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

Returncardinalthe attoseconds of the femtosecond
CompliancemandatoryThis method must be implemented.
MethodgetZeptoseconds
Description

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

Returncardinalthe zeptoseconds of the attosecond
CompliancemandatoryThis 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.

Returncardinalthe yoctoseconds of the picosecond
CompliancemandatoryThis 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.

Returncardinalthe xoxxoseconds of the yoctosecond
CompliancemandatoryThis method must be implemented.
MethodgetWeebleseconds
Description

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

Returncardinalthe weebleseconds of the xoxxoseconds
CompliancemandatoryThis method must be implemented.
MethodgetVatoseconds
Description

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

Returncardinalthe vatoseconds of the weeblesecond
CompliancemandatoryThis method must be implemented.
MethodgetUndaseconds
Description

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

Returncardinalthe undaseconds of the vatosecond
CompliancemandatoryThis method must be implemented.
MethodgetPlanckSeconds
Description

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

Returncardinalthe plancks of the undasecond
CompliancemandatoryThis 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.DateTimeResolutiongranularity
CompliancemandatoryThis 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.

Returncardinalgranularity multiplier
CompliancemandatoryThis method must be implemented.