TimestampOffset.withString constructor
- String timestampString
Creates a new timestamp offset object with the given value.
Parameters:
timestampString
— The timestamp string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS.sss[+/-]hh:mm.
Implementation
factory TimestampOffset.withString(String timestampString) {
_initializeArcGISEnvironmentIfNeeded();
final coreTimestampString = _CString(timestampString);
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TimestampOffset_createWithString(
coreTimestampString.bytes, errorHandler);
});
return TimestampOffset._withHandle(handle);
}