PrimaveraCalendarProperties

Inheritance: java.lang.Object

public final class PrimaveraCalendarProperties

Represents Primavera-specific properties for a calendar read from Primavera files (XER of P6XML). Can be used to perform calendar-specific time units conversion.

Methods

MethodDescription
getHoursPerDay()Gets amount of hours per day from ‘Time Periods’ settings of the calendar.
getHoursPerMonth()Gets amount of hours per month from ‘Time Periods’ settings of the calendar.
getHoursPerWeek()Gets amount of hours per week from ‘Time Periods’ settings of the calendar.
getHoursPerYear()Gets amount of hours per month from ‘Time Periods’ settings of the calendar.

getHoursPerDay()

public final double getHoursPerDay()

Gets amount of hours per day from ‘Time Periods’ settings of the calendar.

Returns: double - amount of hours per day from ‘Time Periods’ settings of the calendar.

getHoursPerMonth()

public final double getHoursPerMonth()

Gets amount of hours per month from ‘Time Periods’ settings of the calendar.

Returns: double - amount of hours per month from ‘Time Periods’ settings of the calendar.

getHoursPerWeek()

public final double getHoursPerWeek()

Gets amount of hours per week from ‘Time Periods’ settings of the calendar.

Returns: double - amount of hours per week from ‘Time Periods’ settings of the calendar.

getHoursPerYear()

public final double getHoursPerYear()

Gets amount of hours per month from ‘Time Periods’ settings of the calendar.

Returns: double - amount of hours per month from ‘Time Periods’ settings of the calendar.