    autoDrawBackground="false">
    <fx:Script>
        <![CDATA[
            import mx.events.CalendarLayoutChangeEvent;

            private function dateField_changeHandler(event:CalendarLayoutChangeEvent):void
            {
                data.defaultValue = event.newDate.time;
            }
        ]]>
    </fx:Script>
    <mx:FormItem width="100%"
                 label="{data.label}"
                 required="{data.required}">
        <mx:DateField width="100%"
                      change="dateField_changeHandler(event)"
                      data="{data.defaultValue}"
                      toolTip="{data.toolTip}"/>
    </mx:FormItem>
</s:ItemRenderer>


{
  "private": true,
  "scripts": {
    "test": "karma start",
    "build": "webpack --config webpack.conf.js"
  },
  "devDependencies": {
    "babel-core": "^6.18.2",
    "babel-loader": "^7.1.4",
    "babel-preset-es2015": "^6.18.0",
    "jasmine-core": "^3.1.0",
    "jsdom": "^11.7.0",
    "karma-jasmine": "^1.1.1",
    "karma-jsdom-launcher": "^6.1.3",
    "karma-webpack": "^3.0.0",
    "karma": "^2.0.0",
    "webpack": "~2"
  }
}


1


# Bitcoin URIs

Represents a bitcoin payment URI. Bitcoin URI strings became the most popular way to share payment request, sometimes as a bitcoin link and others using a QR code.

URI Examples:

```sh
bitcoin:12A1MyfXbW6RhdRAZEqofac5jCQQjwEPBu
bitcoin:12A1MyfXbW6RhdRAZEqofac5jCQQjwEPBu?amount=1.2
bitcoin:12A1MyfXbW6RhdRAZEqofac5jCQQjwEPBu?amount=1.2&message=Payment&label=Satoshi&extra=other-param
```

## URI Validation

The main use that we expect you'll have for the `URI` class in bitcore is validating and parsing bitcoin URIs. A `URI` instance exposes the address as a bitcore `Address` object and the amount in Satoshis, if present.

The code for validating URIs looks like this:

```javascript
var uriString = 'bitcoin:12A1MyfXbW6RhdRAZEqofac5jCQQjwEPBu?amount=1.2';
var valid = URI.isValid(uriString);
var uri = new URI(uriString);
console.log(uri.address.network, uri.amount); // 'livenet', 120000000
```

## URI Par