toDatePartitionSequenceValue method
Implementation
DatePartitionSequenceValue toDatePartitionSequenceValue() {
switch (this) {
case 'YYYYMMDD':
return DatePartitionSequenceValue.yyyymmdd;
case 'YYYYMMDDHH':
return DatePartitionSequenceValue.yyyymmddhh;
case 'YYYYMM':
return DatePartitionSequenceValue.yyyymm;
case 'MMYYYYDD':
return DatePartitionSequenceValue.mmyyyydd;
case 'DDMMYYYY':
return DatePartitionSequenceValue.ddmmyyyy;
}
throw Exception('$this is not known in enum DatePartitionSequenceValue');
}