@Override
  public Double getNumber( Object object ) throws KettleValueException {
    Long timestampAsInteger = getInteger( object );
    if ( null != timestampAsInteger ) {
      return timestampAsInteger.doubleValue();
    } else {
      return null;
    }
  }
@Test
  public void testConvertTimestampToNumber_DefaultMode() throws KettleValueException {
    System.setProperty( Const.KETTLE_TIMESTAMP_NUMBER_CONVERSION_MODE,
      Const.KETTLE_TIMESTAMP_NUMBER_CONVERSION_MODE_LEGACY );
    ValueMetaTimestamp valueMetaTimestamp = new ValueMetaTimestamp();
    double result = valueMetaTimestamp.getNumber( TIMESTAMP_WITH_NANOSECONDS );
    assertEquals( 1567308896123.0, result, 0 );
    System.setProperty( Const.KETTLE_TIMESTAMP_NUMBER_CONVERSION_MODE, "Something invalid!" );
    valueMetaTimestamp = new ValueMetaTimestamp();
    result = valueMetaTimestamp.getNumber( TIMESTAMP_WITH_NANOSECONDS );
    assertEquals( 1567308896123.0, result, 0 );
  }