blob: ce68f9e00f6ae0df09b484a2bde7f9986c3bc6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <StepBasic_OrdinalDate.ixx>
StepBasic_OrdinalDate::StepBasic_OrdinalDate () {}
void StepBasic_OrdinalDate::Init(
const Standard_Integer aYearComponent)
{
StepBasic_Date::Init(aYearComponent);
}
void StepBasic_OrdinalDate::Init(
const Standard_Integer aYearComponent,
const Standard_Integer aDayComponent)
{
// --- classe own fields ---
dayComponent = aDayComponent;
// --- classe inherited fields ---
StepBasic_Date::Init(aYearComponent);
}
void StepBasic_OrdinalDate::SetDayComponent(const Standard_Integer aDayComponent)
{
dayComponent = aDayComponent;
}
Standard_Integer StepBasic_OrdinalDate::DayComponent() const
{
return dayComponent;
}
|