Search

Enum com.vmware.vcac.platform.content.common.dates.TimeUnit

Extends java.lang.Enum

This class is not in the plugin metadata. Using it may work, and could depend on the vRO appliance setup.

Enum Values

Value Description
DAYS
HOURS
MILLISECONDS
MINUTES
MONTHS
SECONDS
WEEKS
YEARS

Attributes

None

Methods

Name Returns
getBaseUnit() com.vmware.vcac.platform.content.common.dates.TimeUnit
getConversionRatio(com.vmware.vcac.platform.content.common.dates.TimeUnit ) Number
getMaxCompatibleUnit() com.vmware.vcac.platform.content.common.dates.TimeUnit
getNormalizedValue() com.vmware.vcac.platform.content.literals.TimeSpan
getNumberOfUnitsInPeriod(java.util.Date , java.util.Date ) Number
getPredecessor() com.vmware.vcac.platform.content.common.dates.TimeUnit
getSuccessor() com.vmware.vcac.platform.content.common.dates.TimeUnit
handle(com.vmware.vcac.platform.content.common.dates.TimeUnitHandler ) Object
hasCompatiblePredecessor() boolean
hasCompatibleSuccessor() boolean
hasPredecessor() boolean
hasSuccessor() boolean
isBaseUnit() boolean
isCompatibleWith(com.vmware.vcac.platform.content.common.dates.TimeUnit ) boolean
valueOf(String ) com.vmware.vcac.platform.content.common.dates.TimeUnit
values() com.vmware.vcac.platform.content.common.dates.TimeUnit[]

Returned by

Method Returns
com.vmware.vcac.platform.content.common.dates.TimeUnit.getBaseUnit() com.vmware.vcac.platform.content.common.dates.TimeUnit
com.vmware.vcac.platform.content.common.dates.TimeUnit.getMaxCompatibleUnit() com.vmware.vcac.platform.content.common.dates.TimeUnit
com.vmware.vcac.platform.content.common.dates.TimeUnit.getPredecessor() com.vmware.vcac.platform.content.common.dates.TimeUnit
com.vmware.vcac.platform.content.common.dates.TimeUnit.getSuccessor() com.vmware.vcac.platform.content.common.dates.TimeUnit
com.vmware.vcac.platform.content.common.dates.TimeUnit.valueOf(String ) com.vmware.vcac.platform.content.common.dates.TimeUnit
com.vmware.vcac.platform.content.common.dates.TimeUnit.values() com.vmware.vcac.platform.content.common.dates.TimeUnit[]
com.vmware.vcac.platform.content.literals.TimeSpan.getUnit() com.vmware.vcac.platform.content.common.dates.TimeUnit

Referenced in

Method Returns
com.vmware.vcac.platform.content.common.dates.TimeUnit.getConversionRatio(com.vmware.vcac.platform.content.common.dates.TimeUnit ) Number
com.vmware.vcac.platform.content.common.dates.TimeUnit.isCompatibleWith(com.vmware.vcac.platform.content.common.dates.TimeUnit ) boolean
com.vmware.vcac.platform.content.literals.TimeSpan.convert(com.vmware.vcac.platform.content.common.dates.TimeUnit ) com.vmware.vcac.platform.content.literals.TimeSpan
com.vmware.vcac.platform.content.literals.TimeSpan.fromPeriod(java.util.Date , java.util.Date , com.vmware.vcac.platform.content.common.dates.TimeUnit ) com.vmware.vcac.platform.content.literals.TimeSpan
com.vmware.vcac.platform.content.literals.TimeSpan.round(com.vmware.vcac.platform.content.common.dates.TimeUnit ) com.vmware.vcac.platform.content.literals.TimeSpan
com.vmware.vcac.platform.content.literals.TimeSpan.toComponents(Number , com.vmware.vcac.platform.content.common.dates.TimeUnit ) Object[]
com.vmware.vcac.platform.content.literals.TimeSpan.(com.vmware.vcac.platform.content.common.dates.TimeUnit , Number ) void