For example inside a package there are two custom data types:
-- A single time period with start date and end date.
TYPE time_period IS OBJECT(
start_period Datetime,
end_period Datetime
);
-- A collection of defined time periods.
TYPE time_periods IS TABLE OF time_period;
How to define a default value for the second custom datatype inside the function parameter?
-- The main function.
FUNCTION Foo (bar_periods IN time_periods DEFAULT ?)