Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Return the time point for a time of day (the number of milliseconds from 12:00am. The hour should be from 0-23.

static vtkTypeUInt64 vtkTimePointUtility::DateTimeToTimePoint

(

int

year,

int

month,

int

day,

int

hour,

int

minute,

int

sec,

int

millis = 0

)

[static]

Return the time point for a date and time.

static void vtkTimePointUtility::GetDate

(

vtkTypeUInt64

time,

int &

year,

int &

month,

int &

day

)

[static]

Retrieve the year, month, and day of a time point. Everything but the first argument are output parameters.

static void vtkTimePointUtility::GetTime

(

vtkTypeUInt64

time,

int &

hour,

int &

minute,

int &

second,

int &

millis

)

[static]

Retrieve the hour, minute, second, and milliseconds of a time point. Everything but the first argument are output parameters.

static void vtkTimePointUtility::GetDateTime

(

vtkTypeUInt64

time,

int &

year,

int &

month,

int &

day,

int &

hour,

int &

minute,

int &

second,

int &

millis

)

[static]

Retrieve the date and time of a time point. Everything but the first argument are output parameters.

static int vtkTimePointUtility::GetYear

(

vtkTypeUInt64

time

)

[static]

Retrieve the year from a time point.

static int vtkTimePointUtility::GetMonth

(

vtkTypeUInt64

time

)

[static]

Retrieve the month from a time point.

static int vtkTimePointUtility::GetDay

(

vtkTypeUInt64

time

)

[static]

Retrieve the day of the month from a time point.

static int vtkTimePointUtility::GetHour

(

vtkTypeUInt64

time

)

[static]

Retrieve the hour of the day from the time point.

static int vtkTimePointUtility::GetMinute

(

vtkTypeUInt64

time

)

[static]

Retrieve the number of minutes from the start of the last hour.

static int vtkTimePointUtility::GetSecond

(

vtkTypeUInt64

time

)

[static]

Retrieve the number of seconds from the start of the last minute.

static int vtkTimePointUtility::GetMillisecond

(

vtkTypeUInt64

time

)

[static]

Retrieve the milliseconds from the start of the last second.

static vtkTypeUInt64 vtkTimePointUtility::ISO8601ToTimePoint

(

const char *

str,

bool *

ok = NULL

)

[static]

Converts a ISO8601 string into a VTK timepoint. The string must follow one of the ISO8601 formats described in ToISO8601. To check for a valid format, pass a bool* as the second argument. The value will be set to true if the string was parsed successfully, false otherwise.

static const char* vtkTimePointUtility::TimePointToISO8601

(

vtkTypeUInt64

,

int

format = ISO8601_DATETIME_MILLIS

)

[static]

Converts a VTK timepoint into one of the following ISO8601 formats. The default format is ISO8601_DATETIME_MILLIS.