文件最后提交记录最后更新时间
!837 ability,Account,AppSample,Basic,common 等适配arm64位系统版本 * 901适配second * 901适配 3 年前
!913 修改README * update readme 3 年前
!492 使用900版本IDE对sample进行编译整改 * adapter to IDE 900 4 年前
!966 README整改 * update README_zh.md 3 年前
!586 修复signingConfig和JsImage、Process工程报错问题 * modify getPid->pid * fix test bug 4 年前
!492 使用900版本IDE对sample进行编译整改 * adapter to IDE 900 4 年前
!837 ability,Account,AppSample,Basic,common 等适配arm64位系统版本 * 901适配second * 901适配 3 年前
README.md

util Tool Function - Scope

Introduction

This sample app checks whether a value is within a specified scope, calculates the intersection and union sets of two scopes, and calculates the upper and lower limits of a scope.

Usage

  1. Enter your age in the text box and touch Age analysis. The system checks whether your age is within the specified scope and displays a message to indicate the result.

  2. Enter your body temperature in the text box and touch Temperature analysis. The system checks whether the highest and lowest temperatures are within the average body temperature scope and displays a message to indicate the result.

  3. Enter your longest sleep time and shortest sleep time in a month in the text boxes, and touch Sleep analysis. The system calculates the intersection and union sets of your sleep time and the normal sleep time and displays a message to indicate the result.

Constraints

This sample can only be run on standard-system devices.