From 8459ba1a97abc400c116e4afe9cb79026e06a482 Mon Sep 17 00:00:00 2001 From: ThishaniLucas Date: Thu, 11 Feb 2021 20:16:14 +0530 Subject: [PATCH] Change module to package --- README.md | 8 ++++---- time-ballerina/Package.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 09a3fcb..f24e1b5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Ballerina Time Library The Time library is one of the standard library modules of the Ballerina language. -This module provides implementations related to time, date, time zones, and durations. +This package provides implementations related to time, date, time zones, and durations. For more information go to [The Time Module](https://ballerina.io/learn/api-docs/ballerina/time/). @@ -19,7 +19,7 @@ For example demonstrations of the usage, go to [Ballerina By Examples](https://b Issues and Project tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library [parent repository](https://github.com/ballerina-platform/ballerina-standard-library). -This repository only contains the source code for the module. +This repository only contains the source code for the package. ## Building from the Source @@ -44,7 +44,7 @@ Execute the commands below to build from source. ./gradlew clean test -3. To build the module without the tests: +3. To build the package without the tests: ./gradlew clean build -x test @@ -52,7 +52,7 @@ Execute the commands below to build from source. ./gradlew clean build -Pdebug= -5. To debug the module with Ballerina language: +5. To debug the package with Ballerina language: ./gradlew clean build -PbalJavaDebug= diff --git a/time-ballerina/Package.md b/time-ballerina/Package.md index be41d14..2aaedf9 100644 --- a/time-ballerina/Package.md +++ b/time-ballerina/Package.md @@ -1,15 +1,15 @@ -## Module Overview +## Package Overview -This module provides implementations related to time, date, time zones, and durations. +This package provides implementations related to time, date, time zones, and durations. -The module has two main types as [Time](records/Time.html) and [TimeZone](records/TimeZone.html). The `Time` type represents a time associated with a given time zone. It has `time` and `zone` as its attributes. The `TimeZone` type represents the time zone associated with a given time. It has `id` and `offset` as its attributes. An `id` can be one of the following: +The package has two main types as [Time](records/Time.html) and [TimeZone](records/TimeZone.html). The `Time` type represents a time associated with a given time zone. It has `time` and `zone` as its attributes. The `TimeZone` type represents the time zone associated with a given time. It has `id` and `offset` as its attributes. An `id` can be one of the following: * If `id` equals `Z`, the result is UTC. * If `id` equals `GMT`, `UTC`, or `UT`, it is equivalent to UTC. * If `id` starts with `+` or `-`, the ID is parsed as an offset. The offset can be specified in one of the following ways: `+h`, `+hh`, `+hh:mm`, `-hh:mm`, `+hhmm`, `-hhmm`, `+hh:mm:ss`, `-hh:mm:ss`, `+hhmmss`, `-hhmmss` * Also, `id` can be a region-based zone ID. The format is `{area}/{city}` e.g., "America/Panama". The zones are based on IANA Time Zone Database (TZDB) supplied data. -For information on the operations, which you can perform with this module, see the below **Functions**. For an example on the usage of the operations, see the [Time Example](https://ballerina.io/learn/by-example/time.html). +For information on the operations, which you can perform with this package, see the below **Functions**. For an example on the usage of the operations, see the [Time Example](https://ballerina.io/learn/by-example/time.html). ### Patterns for formatting and parsing