This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# EKS Addons Compatibility Script | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <kubernetes_version>" | |
exit 1 | |
fi | |
k8s_version=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
String arrived = "07:45"; | |
String lunched = "11:40"; | |
String returned = "12:09"; | |
String leave_time = getLeaveTime(arrived, lunched, returned); | |
print("-------\n->$arrived\n->$lunched\n->$returned\n->$leave_time"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
int daily_needed_minutes = 480; // 8 hours; | |
var min_arrival_date = getParsedDate("07:30"); | |
String arrived = "07:31"; | |
String lunched = "11:30"; | |
String returned = "12:34"; | |
var arrived_date = DateTime.parse("2019-31-10 $arrived:00Z"); |